
/* WARNING: Struct "Output_section_data": ignoring overlapping field "output_section_" */
/* WARNING: Struct "Output_section": ignoring overlapping field "name_" */
/* WARNING: Struct "Output_section_headers": ignoring overlapping field "layout_" */
/* WARNING: Enum "DT": Some values do not have unique names */
/* WARNING: Struct "Output_reduced_debug_abbrev_section": ignoring overlapping field "data_" */
/* WARNING: Struct "Output_reduced_debug_info_section": ignoring overlapping field "data_" */
/* DWARF original prototype: ld_plugin_status release_input_file(Plugin_manager * this, uint handle)
    */

ld_plugin_status __thiscall
gold::Plugin_manager::release_input_file(Plugin_manager *this,uint handle)

{
  Object *pOVar1;
  int iVar2;
  pointer ppOVar3;
  
  ppOVar3 = (this->objects_).super__Vector_base<gold::Object*,_std::allocator<gold::Object*>_>.
            _M_impl._M_start;
  if (handle < (uint)((int)(this->objects_).
                           super__Vector_base<gold::Object*,_std::allocator<gold::Object*>_>._M_impl
                           ._M_finish - (int)ppOVar3 >> 2)) {
    pOVar1 = ppOVar3[handle];
    if (pOVar1 != (Object *)0x0) {
      iVar2 = (*pOVar1->_vptr_Object[5])(pOVar1);
      if (iVar2 == 0) {
        return LDPS_BAD_HANDLE;
      }
      if (*(int *)(iVar2 + 0x1c) != 0) {
        (*(code *)PTR_unlock_00432ed4)(*(int *)(iVar2 + 0x1c) + 0x20,this->task_);
        return LDPS_OK;
      }
      return LDPS_OK;
    }
  }
  return LDPS_BAD_HANDLE;
}



/* gold::Plugin_manager::release_input_file(unsigned int) */

undefined4 __thiscall gold::Plugin_manager::release_input_file(Plugin_manager *this,uint param_1)

{
  int *piVar1;
  int iVar2;
  
  if (param_1 < (uint)(*(int *)(this + 0x14) - *(int *)(this + 0x10) >> 2)) {
    piVar1 = *(int **)(*(int *)(this + 0x10) + param_1 * 4);
    if (piVar1 != (int *)0x0) {
      iVar2 = (**(code **)(*piVar1 + 0x14))(piVar1);
      if (iVar2 == 0) {
        return 2;
      }
      if (*(int *)(iVar2 + 0x1c) != 0) {
        (*(code *)PTR_unlock_00432ed4)(*(int *)(iVar2 + 0x1c) + 0x20,*(undefined4 *)(this + 0x74));
        return 0;
      }
      return 0;
    }
  }
  return 2;
}


lui gp,0x25
addiu gp,gp,0x4f10
addu gp,gp,t9
lw v1,0x10(a0)
lw v0,0x14(a0)
subu v0,v0,v1
sra v0,v0,0x2
sltu v0,a1,v0
beq v0,zero,0x001e537c
_nop
sll a1,a1,0x2
addu v1,v1,a1
lw v0,0x0(v1)
beq v0,zero,0x001e537c
_nop
lw v1,0x0(v0)
addiu sp,sp,-0x20
sw gp,0x10(sp)
sw s0,0x18(sp)
or s0,a0,zero
sw ra,0x1c(sp)
lw t9,0x14(v1)
jalr t9
_or a0,v0,zero
beq v0,zero,0x001e5368
_lw gp,0x10(sp)
lw a0,0x1c(v0)
beq a0,zero,0x001e5354
_lw t9,-0x72fc(gp)
addiu a0,a0,0x20
jalr t9
_lw a1,0x74(s0)
or v0,zero,zero
lw ra,0x1c(sp)
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x20
lw ra,0x1c(sp)
or v0,zero,zero
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x20
lw ra,0x1c(sp)
li v0,0x2
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x20
jr ra
_li v0,0x2
(translation_unit "/* gold::Plugin_manager::release_input_file(unsigned int) */\n\nundefined4 __thiscall gold::Plugin_manager::release_input_file(Plugin_manager *this,uint param_1)\n\n{\n  int *piVar1;\n  int iVar2;\n  \n  if (param_1 < (uint)(*(int *)(this + 0x14) - *(int *)(this + 0x10) >> 2)) {\n    piVar1 = *(int **)(*(int *)(this + 0x10) + param_1 * 4);\n    if (piVar1 != (int *)0x0) {\n      iVar2 = (**(code **)(*piVar1 + 0x14))(piVar1);\n      if (iVar2 == 0) {\n        return 2;\n      }\n      if (*(int *)(iVar2 + 0x1c) != 0) {\n        (*(code *)PTR_unlock_00432ed4)(*(int *)(iVar2 + 0x1c) + 0x20,*(undefined4 *)(this + 0x74));\n        return 0;\n      }\n      return 0;\n    }\n  }\n  return 2;\n}\n\n" comment (function_definition "undefined4 __thiscall gold::Plugin_manager::release_input_file(Plugin_manager *this,uint param_1)\n\n{\n  int *piVar1;\n  int iVar2;\n  \n  if (param_1 < (uint)(*(int *)(this + 0x14) - *(int *)(this + 0x10) >> 2)) {\n    piVar1 = *(int **)(*(int *)(this + 0x10) + param_1 * 4);\n    if (piVar1 != (int *)0x0) {\n      iVar2 = (**(code **)(*piVar1 + 0x14))(piVar1);\n      if (iVar2 == 0) {\n        return 2;\n      }\n      if (*(int *)(iVar2 + 0x1c) != 0) {\n        (*(code *)PTR_unlock_00432ed4)(*(int *)(iVar2 + 0x1c) + 0x20,*(undefined4 *)(this + 0x74));\n        return 0;\n      }\n      return 0;\n    }\n  }\n  return 2;\n}" type_identifier (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Plugin_manager::" identifier : : identifier : :) (function_declarator "release_input_file(Plugin_manager *this,uint param_1)" identifier (parameter_list "(Plugin_manager *this,uint param_1)" ( (parameter_declaration "Plugin_manager *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "uint param_1" type_identifier identifier) ))) (compound_statement "{\n  int *piVar1;\n  int iVar2;\n  \n  if (param_1 < (uint)(*(int *)(this + 0x14) - *(int *)(this + 0x10) >> 2)) {\n    piVar1 = *(int **)(*(int *)(this + 0x10) + param_1 * 4);\n    if (piVar1 != (int *)0x0) {\n      iVar2 = (**(code **)(*piVar1 + 0x14))(piVar1);\n      if (iVar2 == 0) {\n        return 2;\n      }\n      if (*(int *)(iVar2 + 0x1c) != 0) {\n        (*(code *)PTR_unlock_00432ed4)(*(int *)(iVar2 + 0x1c) + 0x20,*(undefined4 *)(this + 0x74));\n        return 0;\n      }\n      return 0;\n    }\n  }\n  return 2;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (if_statement "if (param_1 < (uint)(*(int *)(this + 0x14) - *(int *)(this + 0x10) >> 2)) {\n    piVar1 = *(int **)(*(int *)(this + 0x10) + param_1 * 4);\n    if (piVar1 != (int *)0x0) {\n      iVar2 = (**(code **)(*piVar1 + 0x14))(piVar1);\n      if (iVar2 == 0) {\n        return 2;\n      }\n      if (*(int *)(iVar2 + 0x1c) != 0) {\n        (*(code *)PTR_unlock_00432ed4)(*(int *)(iVar2 + 0x1c) + 0x20,*(undefined4 *)(this + 0x74));\n        return 0;\n      }\n      return 0;\n    }\n  }" if (parenthesized_expression "(param_1 < (uint)(*(int *)(this + 0x14) - *(int *)(this + 0x10) >> 2))" ( (binary_expression "param_1 < (uint)(*(int *)(this + 0x14) - *(int *)(this + 0x10) >> 2)" identifier < (call_expression "(uint)(*(int *)(this + 0x14) - *(int *)(this + 0x10) >> 2)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(int *)(this + 0x14) - *(int *)(this + 0x10) >> 2)" ( (binary_expression "*(int *)(this + 0x14) - *(int *)(this + 0x10) >> 2" (binary_expression "*(int *)(this + 0x14) - *(int *)(this + 0x10)" (pointer_expression "*(int *)(this + 0x14)" * (cast_expression "(int *)(this + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x14)" ( (binary_expression "this + 0x14" identifier + number_literal) )))) - (pointer_expression "*(int *)(this + 0x10)" * (cast_expression "(int *)(this + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x10)" ( (binary_expression "this + 0x10" identifier + number_literal) ))))) >> number_literal) )))) )) (compound_statement "{\n    piVar1 = *(int **)(*(int *)(this + 0x10) + param_1 * 4);\n    if (piVar1 != (int *)0x0) {\n      iVar2 = (**(code **)(*piVar1 + 0x14))(piVar1);\n      if (iVar2 == 0) {\n        return 2;\n      }\n      if (*(int *)(iVar2 + 0x1c) != 0) {\n        (*(code *)PTR_unlock_00432ed4)(*(int *)(iVar2 + 0x1c) + 0x20,*(undefined4 *)(this + 0x74));\n        return 0;\n      }\n      return 0;\n    }\n  }" { (expression_statement "piVar1 = *(int **)(*(int *)(this + 0x10) + param_1 * 4);" (assignment_expression "piVar1 = *(int **)(*(int *)(this + 0x10) + param_1 * 4)" identifier = (pointer_expression "*(int **)(*(int *)(this + 0x10) + param_1 * 4)" * (cast_expression "(int **)(*(int *)(this + 0x10) + param_1 * 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(this + 0x10) + param_1 * 4)" ( (binary_expression "*(int *)(this + 0x10) + param_1 * 4" (pointer_expression "*(int *)(this + 0x10)" * (cast_expression "(int *)(this + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x10)" ( (binary_expression "this + 0x10" identifier + number_literal) )))) + (binary_expression "param_1 * 4" identifier * number_literal)) ))))) ;) (if_statement "if (piVar1 != (int *)0x0) {\n      iVar2 = (**(code **)(*piVar1 + 0x14))(piVar1);\n      if (iVar2 == 0) {\n        return 2;\n      }\n      if (*(int *)(iVar2 + 0x1c) != 0) {\n        (*(code *)PTR_unlock_00432ed4)(*(int *)(iVar2 + 0x1c) + 0x20,*(undefined4 *)(this + 0x74));\n        return 0;\n      }\n      return 0;\n    }" if (parenthesized_expression "(piVar1 != (int *)0x0)" ( (binary_expression "piVar1 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      iVar2 = (**(code **)(*piVar1 + 0x14))(piVar1);\n      if (iVar2 == 0) {\n        return 2;\n      }\n      if (*(int *)(iVar2 + 0x1c) != 0) {\n        (*(code *)PTR_unlock_00432ed4)(*(int *)(iVar2 + 0x1c) + 0x20,*(undefined4 *)(this + 0x74));\n        return 0;\n      }\n      return 0;\n    }" { (expression_statement "iVar2 = (**(code **)(*piVar1 + 0x14))(piVar1);" (assignment_expression "iVar2 = (**(code **)(*piVar1 + 0x14))(piVar1)" identifier = (call_expression "(**(code **)(*piVar1 + 0x14))(piVar1)" (parenthesized_expression "(**(code **)(*piVar1 + 0x14))" ( (pointer_expression "**(code **)(*piVar1 + 0x14)" * (pointer_expression "*(code **)(*piVar1 + 0x14)" * (cast_expression "(code **)(*piVar1 + 0x14)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar1 + 0x14)" ( (binary_expression "*piVar1 + 0x14" (pointer_expression "*piVar1" * identifier) + number_literal) ))))) )) (argument_list "(piVar1)" ( identifier )))) ;) (if_statement "if (iVar2 == 0) {\n        return 2;\n      }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n        return 2;\n      }" { (return_statement "return 2;" return number_literal ;) })) (if_statement "if (*(int *)(iVar2 + 0x1c) != 0) {\n        (*(code *)PTR_unlock_00432ed4)(*(int *)(iVar2 + 0x1c) + 0x20,*(undefined4 *)(this + 0x74));\n        return 0;\n      }" if (parenthesized_expression "(*(int *)(iVar2 + 0x1c) != 0)" ( (binary_expression "*(int *)(iVar2 + 0x1c) != 0" (pointer_expression "*(int *)(iVar2 + 0x1c)" * (cast_expression "(int *)(iVar2 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x1c)" ( (binary_expression "iVar2 + 0x1c" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n        (*(code *)PTR_unlock_00432ed4)(*(int *)(iVar2 + 0x1c) + 0x20,*(undefined4 *)(this + 0x74));\n        return 0;\n      }" { (expression_statement "(*(code *)PTR_unlock_00432ed4)(*(int *)(iVar2 + 0x1c) + 0x20,*(undefined4 *)(this + 0x74));" (call_expression "(*(code *)PTR_unlock_00432ed4)(*(int *)(iVar2 + 0x1c) + 0x20,*(undefined4 *)(this + 0x74))" (parenthesized_expression "(*(code *)PTR_unlock_00432ed4)" ( (pointer_expression "*(code *)PTR_unlock_00432ed4" * (cast_expression "(code *)PTR_unlock_00432ed4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(int *)(iVar2 + 0x1c) + 0x20,*(undefined4 *)(this + 0x74))" ( (binary_expression "*(int *)(iVar2 + 0x1c) + 0x20" (pointer_expression "*(int *)(iVar2 + 0x1c)" * (cast_expression "(int *)(iVar2 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x1c)" ( (binary_expression "iVar2 + 0x1c" identifier + number_literal) )))) + number_literal) , (pointer_expression "*(undefined4 *)(this + 0x74)" * (cast_expression "(undefined4 *)(this + 0x74)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x74)" ( (binary_expression "this + 0x74" identifier + number_literal) )))) ))) ;) (return_statement "return 0;" return number_literal ;) })) (return_statement "return 0;" return number_literal ;) })) })) (return_statement "return 2;" return number_literal ;) })))
(translation_unit "/* WARNING: Struct "Output_section_data": ignoring overlapping field "output_section_" */\n/* WARNING: Struct "Output_section": ignoring overlapping field "name_" */\n/* WARNING: Struct "Output_section_headers": ignoring overlapping field "layout_" */\n/* WARNING: Enum "DT": Some values do not have unique names */\n/* WARNING: Struct "Output_reduced_debug_abbrev_section": ignoring overlapping field "data_" */\n/* WARNING: Struct "Output_reduced_debug_info_section": ignoring overlapping field "data_" */\n/* DWARF original prototype: ld_plugin_status release_input_file(Plugin_manager * this, uint handle)\n    */\n\nld_plugin_status __thiscall\ngold::Plugin_manager::release_input_file(Plugin_manager *this,uint handle)\n\n{\n  Object *pOVar1;\n  int iVar2;\n  pointer ppOVar3;\n  \n  ppOVar3 = (this->objects_).super__Vector_base<gold::Object*,_std::allocator<gold::Object*>_>.\n            _M_impl._M_start;\n  if (handle < (uint)((int)(this->objects_).\n                           super__Vector_base<gold::Object*,_std::allocator<gold::Object*>_>._M_impl\n                           ._M_finish - (int)ppOVar3 >> 2)) {\n    pOVar1 = ppOVar3[handle];\n    if (pOVar1 != (Object *)0x0) {\n      iVar2 = (*pOVar1->_vptr_Object[5])(pOVar1);\n      if (iVar2 == 0) {\n        return LDPS_BAD_HANDLE;\n      }\n      if (*(int *)(iVar2 + 0x1c) != 0) {\n        (*(code *)PTR_unlock_00432ed4)(*(int *)(iVar2 + 0x1c) + 0x20,this->task_);\n        return LDPS_OK;\n      }\n      return LDPS_OK;\n    }\n  }\n  return LDPS_BAD_HANDLE;\n}\n\n" comment comment comment comment comment comment comment (function_definition "ld_plugin_status __thiscall\ngold::Plugin_manager::release_input_file(Plugin_manager *this,uint handle)\n\n{\n  Object *pOVar1;\n  int iVar2;\n  pointer ppOVar3;\n  \n  ppOVar3 = (this->objects_).super__Vector_base<gold::Object*,_std::allocator<gold::Object*>_>.\n            _M_impl._M_start;\n  if (handle < (uint)((int)(this->objects_).\n                           super__Vector_base<gold::Object*,_std::allocator<gold::Object*>_>._M_impl\n                           ._M_finish - (int)ppOVar3 >> 2)) {\n    pOVar1 = ppOVar3[handle];\n    if (pOVar1 != (Object *)0x0) {\n      iVar2 = (*pOVar1->_vptr_Object[5])(pOVar1);\n      if (iVar2 == 0) {\n        return LDPS_BAD_HANDLE;\n      }\n      if (*(int *)(iVar2 + 0x1c) != 0) {\n        (*(code *)PTR_unlock_00432ed4)(*(int *)(iVar2 + 0x1c) + 0x20,this->task_);\n        return LDPS_OK;\n      }\n      return LDPS_OK;\n    }\n  }\n  return LDPS_BAD_HANDLE;\n}" type_identifier (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Plugin_manager::" identifier : : identifier : :) (function_declarator "release_input_file(Plugin_manager *this,uint handle)" identifier (parameter_list "(Plugin_manager *this,uint handle)" ( (parameter_declaration "Plugin_manager *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "uint handle" type_identifier identifier) ))) (compound_statement "{\n  Object *pOVar1;\n  int iVar2;\n  pointer ppOVar3;\n  \n  ppOVar3 = (this->objects_).super__Vector_base<gold::Object*,_std::allocator<gold::Object*>_>.\n            _M_impl._M_start;\n  if (handle < (uint)((int)(this->objects_).\n                           super__Vector_base<gold::Object*,_std::allocator<gold::Object*>_>._M_impl\n                           ._M_finish - (int)ppOVar3 >> 2)) {\n    pOVar1 = ppOVar3[handle];\n    if (pOVar1 != (Object *)0x0) {\n      iVar2 = (*pOVar1->_vptr_Object[5])(pOVar1);\n      if (iVar2 == 0) {\n        return LDPS_BAD_HANDLE;\n      }\n      if (*(int *)(iVar2 + 0x1c) != 0) {\n        (*(code *)PTR_unlock_00432ed4)(*(int *)(iVar2 + 0x1c) + 0x20,this->task_);\n        return LDPS_OK;\n      }\n      return LDPS_OK;\n    }\n  }\n  return LDPS_BAD_HANDLE;\n}" { (declaration "Object *pOVar1;" type_identifier (pointer_declarator "*pOVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "pointer ppOVar3;" type_identifier identifier ;) (expression_statement "ppOVar3 = (this->objects_).super__Vector_base<gold::Object*,_std::allocator<gold::Object*>_>.\n            _M_impl._M_start;" (field_expression "ppOVar3 = (this->objects_).super__Vector_base<gold::Object*,_std::allocator<gold::Object*>_>.\n            _M_impl._M_start" (field_expression "ppOVar3 = (this->objects_).super__Vector_base<gold::Object*,_std::allocator<gold::Object*>_>.\n            _M_impl" (binary_expression "ppOVar3 = (this->objects_).super__Vector_base<gold::Object*,_std::allocator<gold::Object*>_" (binary_expression "ppOVar3 = (this->objects_).super__Vector_base<gold::Object*,_std::allocator<gold" (binary_expression "ppOVar3 = (this->objects_).super__Vector_base<gold::Object*,_std" (assignment_expression "ppOVar3 = (this->objects_).super__Vector_base<gold" identifier = (binary_expression "(this->objects_).super__Vector_base<gold" (field_expression "(this->objects_).super__Vector_base" (parenthesized_expression "(this->objects_)" ( (field_expression "this->objects_" identifier -> field_identifier) )) . field_identifier) < identifier)) (ERROR "::Object" : : identifier) * (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Object" : : identifier) * (ERROR ">" >) identifier) (ERROR ">" >) . field_identifier) . field_identifier) ;) (if_statement "if (handle < (uint)((int)(this->objects_).\n                           super__Vector_base<gold::Object*,_std::allocator<gold::Object*>_>._M_impl\n                           ._M_finish - (int)ppOVar3 >> 2)) {\n    pOVar1 = ppOVar3[handle];\n    if (pOVar1 != (Object *)0x0) {\n      iVar2 = (*pOVar1->_vptr_Object[5])(pOVar1);\n      if (iVar2 == 0) {\n        return LDPS_BAD_HANDLE;\n      }\n      if (*(int *)(iVar2 + 0x1c) != 0) {\n        (*(code *)PTR_unlock_00432ed4)(*(int *)(iVar2 + 0x1c) + 0x20,this->task_);\n        return LDPS_OK;\n      }\n      return LDPS_OK;\n    }\n  }" if (parenthesized_expression "(handle < (uint)((int)(this->objects_).\n                           super__Vector_base<gold::Object*,_std::allocator<gold::Object*>_>._M_impl\n                           ._M_finish - (int)ppOVar3 >> 2))" ( (binary_expression "handle < (uint)((int)(this->objects_).\n                           super__Vector_base<gold::Object*,_std::allocator<gold::Object*>_>._M_impl\n                           ._M_finish - (int)ppOVar3 >> 2)" identifier < (call_expression "(uint)((int)(this->objects_).\n                           super__Vector_base<gold::Object*,_std::allocator<gold::Object*>_>._M_impl\n                           ._M_finish - (int)ppOVar3 >> 2)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((int)(this->objects_).\n                           super__Vector_base<gold::Object*,_std::allocator<gold::Object*>_>._M_impl\n                           ._M_finish - (int)ppOVar3 >> 2)" ( (binary_expression "(int)(this->objects_).\n                           super__Vector_base<gold::Object*,_std::allocator<gold::Object*>_>._M_impl\n                           ._M_finish - (int)ppOVar3 >> 2" (binary_expression "(int)(this->objects_).\n                           super__Vector_base<gold::Object*,_std::allocator<gold::Object*>_>._M_impl\n                           ._M_finish - (int)ppOVar3" (field_expression "(int)(this->objects_).\n                           super__Vector_base<gold::Object*,_std::allocator<gold::Object*>_>._M_impl\n                           ._M_finish" (field_expression "(int)(this->objects_).\n                           super__Vector_base<gold::Object*,_std::allocator<gold::Object*>_>._M_impl" (binary_expression "(int)(this->objects_).\n                           super__Vector_base<gold::Object*,_std::allocator<gold::Object*>_" (binary_expression "(int)(this->objects_).\n                           super__Vector_base<gold::Object*,_std::allocator<gold" (binary_expression "(int)(this->objects_).\n                           super__Vector_base<gold::Object*,_std" (binary_expression "(int)(this->objects_).\n                           super__Vector_base<gold" (cast_expression "(int)(this->objects_).\n                           super__Vector_base" ( (type_descriptor "int" primitive_type) ) (field_expression "(this->objects_).\n                           super__Vector_base" (parenthesized_expression "(this->objects_)" ( (field_expression "this->objects_" identifier -> field_identifier) )) . field_identifier)) < identifier) (ERROR "::Object" : : identifier) * (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Object" : : identifier) * (ERROR ">" >) identifier) (ERROR ">" >) . field_identifier) . field_identifier) - (cast_expression "(int)ppOVar3" ( (type_descriptor "int" primitive_type) ) identifier)) >> number_literal) )))) )) (compound_statement "{\n    pOVar1 = ppOVar3[handle];\n    if (pOVar1 != (Object *)0x0) {\n      iVar2 = (*pOVar1->_vptr_Object[5])(pOVar1);\n      if (iVar2 == 0) {\n        return LDPS_BAD_HANDLE;\n      }\n      if (*(int *)(iVar2 + 0x1c) != 0) {\n        (*(code *)PTR_unlock_00432ed4)(*(int *)(iVar2 + 0x1c) + 0x20,this->task_);\n        return LDPS_OK;\n      }\n      return LDPS_OK;\n    }\n  }" { (expression_statement "pOVar1 = ppOVar3[handle];" (assignment_expression "pOVar1 = ppOVar3[handle]" identifier = (subscript_expression "ppOVar3[handle]" identifier [ identifier ])) ;) (if_statement "if (pOVar1 != (Object *)0x0) {\n      iVar2 = (*pOVar1->_vptr_Object[5])(pOVar1);\n      if (iVar2 == 0) {\n        return LDPS_BAD_HANDLE;\n      }\n      if (*(int *)(iVar2 + 0x1c) != 0) {\n        (*(code *)PTR_unlock_00432ed4)(*(int *)(iVar2 + 0x1c) + 0x20,this->task_);\n        return LDPS_OK;\n      }\n      return LDPS_OK;\n    }" if (parenthesized_expression "(pOVar1 != (Object *)0x0)" ( (binary_expression "pOVar1 != (Object *)0x0" identifier != (cast_expression "(Object *)0x0" ( (type_descriptor "Object *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      iVar2 = (*pOVar1->_vptr_Object[5])(pOVar1);\n      if (iVar2 == 0) {\n        return LDPS_BAD_HANDLE;\n      }\n      if (*(int *)(iVar2 + 0x1c) != 0) {\n        (*(code *)PTR_unlock_00432ed4)(*(int *)(iVar2 + 0x1c) + 0x20,this->task_);\n        return LDPS_OK;\n      }\n      return LDPS_OK;\n    }" { (expression_statement "iVar2 = (*pOVar1->_vptr_Object[5])(pOVar1);" (assignment_expression "iVar2 = (*pOVar1->_vptr_Object[5])(pOVar1)" identifier = (call_expression "(*pOVar1->_vptr_Object[5])(pOVar1)" (parenthesized_expression "(*pOVar1->_vptr_Object[5])" ( (pointer_expression "*pOVar1->_vptr_Object[5]" * (subscript_expression "pOVar1->_vptr_Object[5]" (field_expression "pOVar1->_vptr_Object" identifier -> field_identifier) [ number_literal ])) )) (argument_list "(pOVar1)" ( identifier )))) ;) (if_statement "if (iVar2 == 0) {\n        return LDPS_BAD_HANDLE;\n      }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n        return LDPS_BAD_HANDLE;\n      }" { (return_statement "return LDPS_BAD_HANDLE;" return identifier ;) })) (if_statement "if (*(int *)(iVar2 + 0x1c) != 0) {\n        (*(code *)PTR_unlock_00432ed4)(*(int *)(iVar2 + 0x1c) + 0x20,this->task_);\n        return LDPS_OK;\n      }" if (parenthesized_expression "(*(int *)(iVar2 + 0x1c) != 0)" ( (binary_expression "*(int *)(iVar2 + 0x1c) != 0" (pointer_expression "*(int *)(iVar2 + 0x1c)" * (cast_expression "(int *)(iVar2 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x1c)" ( (binary_expression "iVar2 + 0x1c" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n        (*(code *)PTR_unlock_00432ed4)(*(int *)(iVar2 + 0x1c) + 0x20,this->task_);\n        return LDPS_OK;\n      }" { (expression_statement "(*(code *)PTR_unlock_00432ed4)(*(int *)(iVar2 + 0x1c) + 0x20,this->task_);" (call_expression "(*(code *)PTR_unlock_00432ed4)(*(int *)(iVar2 + 0x1c) + 0x20,this->task_)" (parenthesized_expression "(*(code *)PTR_unlock_00432ed4)" ( (pointer_expression "*(code *)PTR_unlock_00432ed4" * (cast_expression "(code *)PTR_unlock_00432ed4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(int *)(iVar2 + 0x1c) + 0x20,this->task_)" ( (binary_expression "*(int *)(iVar2 + 0x1c) + 0x20" (pointer_expression "*(int *)(iVar2 + 0x1c)" * (cast_expression "(int *)(iVar2 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x1c)" ( (binary_expression "iVar2 + 0x1c" identifier + number_literal) )))) + number_literal) , (field_expression "this->task_" identifier -> field_identifier) ))) ;) (return_statement "return LDPS_OK;" return identifier ;) })) (return_statement "return LDPS_OK;" return identifier ;) })) })) (return_statement "return LDPS_BAD_HANDLE;" return identifier ;) })))
(translation_unit "undefined4 __thiscall gold::Plugin_manager::release_input_file(Plugin_manager *this,uint param_1)\n\n{\n  int *piVar1;\n  int iVar2;\n  \n  if (param_1 < (uint)(*(int *)(this + 0x14) - *(int *)(this + 0x10) >> 2)) {\n    piVar1 = *(int **)(*(int *)(this + 0x10) + param_1 * 4);\n    if (piVar1 != (int *)0x0) {\n      iVar2 = (**(code **)(*piVar1 + 0x14))(piVar1);\n      if (iVar2 == 0) {\n        return 2;\n      }\n      if (*(int *)(iVar2 + 0x1c) != 0) {\n        (*(code *)PTR_unlock_00432ed4)(*(int *)(iVar2 + 0x1c) + 0x20,*(undefined4 *)(this + 0x74));\n        return 0;\n      }\n      return 0;\n    }\n  }\n  return 2;\n}\n\n" (function_definition "undefined4 __thiscall gold::Plugin_manager::release_input_file(Plugin_manager *this,uint param_1)\n\n{\n  int *piVar1;\n  int iVar2;\n  \n  if (param_1 < (uint)(*(int *)(this + 0x14) - *(int *)(this + 0x10) >> 2)) {\n    piVar1 = *(int **)(*(int *)(this + 0x10) + param_1 * 4);\n    if (piVar1 != (int *)0x0) {\n      iVar2 = (**(code **)(*piVar1 + 0x14))(piVar1);\n      if (iVar2 == 0) {\n        return 2;\n      }\n      if (*(int *)(iVar2 + 0x1c) != 0) {\n        (*(code *)PTR_unlock_00432ed4)(*(int *)(iVar2 + 0x1c) + 0x20,*(undefined4 *)(this + 0x74));\n        return 0;\n      }\n      return 0;\n    }\n  }\n  return 2;\n}" type_identifier (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Plugin_manager::" identifier : : identifier : :) (function_declarator "release_input_file(Plugin_manager *this,uint param_1)" identifier (parameter_list "(Plugin_manager *this,uint param_1)" ( (parameter_declaration "Plugin_manager *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "uint param_1" type_identifier identifier) ))) (compound_statement "{\n  int *piVar1;\n  int iVar2;\n  \n  if (param_1 < (uint)(*(int *)(this + 0x14) - *(int *)(this + 0x10) >> 2)) {\n    piVar1 = *(int **)(*(int *)(this + 0x10) + param_1 * 4);\n    if (piVar1 != (int *)0x0) {\n      iVar2 = (**(code **)(*piVar1 + 0x14))(piVar1);\n      if (iVar2 == 0) {\n        return 2;\n      }\n      if (*(int *)(iVar2 + 0x1c) != 0) {\n        (*(code *)PTR_unlock_00432ed4)(*(int *)(iVar2 + 0x1c) + 0x20,*(undefined4 *)(this + 0x74));\n        return 0;\n      }\n      return 0;\n    }\n  }\n  return 2;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (if_statement "if (param_1 < (uint)(*(int *)(this + 0x14) - *(int *)(this + 0x10) >> 2)) {\n    piVar1 = *(int **)(*(int *)(this + 0x10) + param_1 * 4);\n    if (piVar1 != (int *)0x0) {\n      iVar2 = (**(code **)(*piVar1 + 0x14))(piVar1);\n      if (iVar2 == 0) {\n        return 2;\n      }\n      if (*(int *)(iVar2 + 0x1c) != 0) {\n        (*(code *)PTR_unlock_00432ed4)(*(int *)(iVar2 + 0x1c) + 0x20,*(undefined4 *)(this + 0x74));\n        return 0;\n      }\n      return 0;\n    }\n  }" if (parenthesized_expression "(param_1 < (uint)(*(int *)(this + 0x14) - *(int *)(this + 0x10) >> 2))" ( (binary_expression "param_1 < (uint)(*(int *)(this + 0x14) - *(int *)(this + 0x10) >> 2)" identifier < (call_expression "(uint)(*(int *)(this + 0x14) - *(int *)(this + 0x10) >> 2)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(int *)(this + 0x14) - *(int *)(this + 0x10) >> 2)" ( (binary_expression "*(int *)(this + 0x14) - *(int *)(this + 0x10) >> 2" (binary_expression "*(int *)(this + 0x14) - *(int *)(this + 0x10)" (pointer_expression "*(int *)(this + 0x14)" * (cast_expression "(int *)(this + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x14)" ( (binary_expression "this + 0x14" identifier + number_literal) )))) - (pointer_expression "*(int *)(this + 0x10)" * (cast_expression "(int *)(this + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x10)" ( (binary_expression "this + 0x10" identifier + number_literal) ))))) >> number_literal) )))) )) (compound_statement "{\n    piVar1 = *(int **)(*(int *)(this + 0x10) + param_1 * 4);\n    if (piVar1 != (int *)0x0) {\n      iVar2 = (**(code **)(*piVar1 + 0x14))(piVar1);\n      if (iVar2 == 0) {\n        return 2;\n      }\n      if (*(int *)(iVar2 + 0x1c) != 0) {\n        (*(code *)PTR_unlock_00432ed4)(*(int *)(iVar2 + 0x1c) + 0x20,*(undefined4 *)(this + 0x74));\n        return 0;\n      }\n      return 0;\n    }\n  }" { (expression_statement "piVar1 = *(int **)(*(int *)(this + 0x10) + param_1 * 4);" (assignment_expression "piVar1 = *(int **)(*(int *)(this + 0x10) + param_1 * 4)" identifier = (pointer_expression "*(int **)(*(int *)(this + 0x10) + param_1 * 4)" * (cast_expression "(int **)(*(int *)(this + 0x10) + param_1 * 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(this + 0x10) + param_1 * 4)" ( (binary_expression "*(int *)(this + 0x10) + param_1 * 4" (pointer_expression "*(int *)(this + 0x10)" * (cast_expression "(int *)(this + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x10)" ( (binary_expression "this + 0x10" identifier + number_literal) )))) + (binary_expression "param_1 * 4" identifier * number_literal)) ))))) ;) (if_statement "if (piVar1 != (int *)0x0) {\n      iVar2 = (**(code **)(*piVar1 + 0x14))(piVar1);\n      if (iVar2 == 0) {\n        return 2;\n      }\n      if (*(int *)(iVar2 + 0x1c) != 0) {\n        (*(code *)PTR_unlock_00432ed4)(*(int *)(iVar2 + 0x1c) + 0x20,*(undefined4 *)(this + 0x74));\n        return 0;\n      }\n      return 0;\n    }" if (parenthesized_expression "(piVar1 != (int *)0x0)" ( (binary_expression "piVar1 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      iVar2 = (**(code **)(*piVar1 + 0x14))(piVar1);\n      if (iVar2 == 0) {\n        return 2;\n      }\n      if (*(int *)(iVar2 + 0x1c) != 0) {\n        (*(code *)PTR_unlock_00432ed4)(*(int *)(iVar2 + 0x1c) + 0x20,*(undefined4 *)(this + 0x74));\n        return 0;\n      }\n      return 0;\n    }" { (expression_statement "iVar2 = (**(code **)(*piVar1 + 0x14))(piVar1);" (assignment_expression "iVar2 = (**(code **)(*piVar1 + 0x14))(piVar1)" identifier = (call_expression "(**(code **)(*piVar1 + 0x14))(piVar1)" (parenthesized_expression "(**(code **)(*piVar1 + 0x14))" ( (pointer_expression "**(code **)(*piVar1 + 0x14)" * (pointer_expression "*(code **)(*piVar1 + 0x14)" * (cast_expression "(code **)(*piVar1 + 0x14)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar1 + 0x14)" ( (binary_expression "*piVar1 + 0x14" (pointer_expression "*piVar1" * identifier) + number_literal) ))))) )) (argument_list "(piVar1)" ( identifier )))) ;) (if_statement "if (iVar2 == 0) {\n        return 2;\n      }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n        return 2;\n      }" { (return_statement "return 2;" return number_literal ;) })) (if_statement "if (*(int *)(iVar2 + 0x1c) != 0) {\n        (*(code *)PTR_unlock_00432ed4)(*(int *)(iVar2 + 0x1c) + 0x20,*(undefined4 *)(this + 0x74));\n        return 0;\n      }" if (parenthesized_expression "(*(int *)(iVar2 + 0x1c) != 0)" ( (binary_expression "*(int *)(iVar2 + 0x1c) != 0" (pointer_expression "*(int *)(iVar2 + 0x1c)" * (cast_expression "(int *)(iVar2 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x1c)" ( (binary_expression "iVar2 + 0x1c" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n        (*(code *)PTR_unlock_00432ed4)(*(int *)(iVar2 + 0x1c) + 0x20,*(undefined4 *)(this + 0x74));\n        return 0;\n      }" { (expression_statement "(*(code *)PTR_unlock_00432ed4)(*(int *)(iVar2 + 0x1c) + 0x20,*(undefined4 *)(this + 0x74));" (call_expression "(*(code *)PTR_unlock_00432ed4)(*(int *)(iVar2 + 0x1c) + 0x20,*(undefined4 *)(this + 0x74))" (parenthesized_expression "(*(code *)PTR_unlock_00432ed4)" ( (pointer_expression "*(code *)PTR_unlock_00432ed4" * (cast_expression "(code *)PTR_unlock_00432ed4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(int *)(iVar2 + 0x1c) + 0x20,*(undefined4 *)(this + 0x74))" ( (binary_expression "*(int *)(iVar2 + 0x1c) + 0x20" (pointer_expression "*(int *)(iVar2 + 0x1c)" * (cast_expression "(int *)(iVar2 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x1c)" ( (binary_expression "iVar2 + 0x1c" identifier + number_literal) )))) + number_literal) , (pointer_expression "*(undefined4 *)(this + 0x74)" * (cast_expression "(undefined4 *)(this + 0x74)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x74)" ( (binary_expression "this + 0x74" identifier + number_literal) )))) ))) ;) (return_statement "return 0;" return number_literal ;) })) (return_statement "return 0;" return number_literal ;) })) })) (return_statement "return 2;" return number_literal ;) })))
(translation_unit (function_definition TYPE (ms_call_modifier __thiscall) (ERROR IDENT : : IDENT : :) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) - (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) >> LIT) )))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + (binary_expression IDENT * LIT)) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (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 )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return LIT ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) (return_statement return LIT ;) })) (return_statement return LIT ;) })) })) (return_statement return LIT ;) })))
(function_definition "undefined4 __thiscall gold::Plugin_manager::release_input_file(Plugin_manager *this,uint param_1)\n\n{\n  int *piVar1;\n  int iVar2;\n  \n  if (param_1 < (uint)(*(int *)(this + 0x14) - *(int *)(this + 0x10) >> 2)) {\n    piVar1 = *(int **)(*(int *)(this + 0x10) + param_1 * 4);\n    if (piVar1 != (int *)0x0) {\n      iVar2 = (**(code **)(*piVar1 + 0x14))(piVar1);\n      if (iVar2 == 0) {\n        return 2;\n      }\n      if (*(int *)(iVar2 + 0x1c) != 0) {\n        (*(code *)PTR_unlock_00432ed4)(*(int *)(iVar2 + 0x1c) + 0x20,*(undefined4 *)(this + 0x74));\n        return 0;\n      }\n      return 0;\n    }\n  }\n  return 2;\n}" (type_identifier "undefined4") (ms_call_modifier "__thiscall" (__thiscall "__thiscall")) (ERROR "gold::Plugin_manager::" (identifier "gold") (: ":") (: ":") (identifier "Plugin_manager") (: ":") (: ":")) (function_declarator "release_input_file(Plugin_manager *this,uint param_1)" (identifier "release_input_file") (parameter_list "(Plugin_manager *this,uint param_1)" (( "(") (parameter_declaration "Plugin_manager *this" (type_identifier "Plugin_manager") (pointer_declarator "*this" (* "*") (identifier "this"))) (, ",") (parameter_declaration "uint param_1" (type_identifier "uint") (identifier "param_1")) () ")"))) (compound_statement "{\n  int *piVar1;\n  int iVar2;\n  \n  if (param_1 < (uint)(*(int *)(this + 0x14) - *(int *)(this + 0x10) >> 2)) {\n    piVar1 = *(int **)(*(int *)(this + 0x10) + param_1 * 4);\n    if (piVar1 != (int *)0x0) {\n      iVar2 = (**(code **)(*piVar1 + 0x14))(piVar1);\n      if (iVar2 == 0) {\n        return 2;\n      }\n      if (*(int *)(iVar2 + 0x1c) != 0) {\n        (*(code *)PTR_unlock_00432ed4)(*(int *)(iVar2 + 0x1c) + 0x20,*(undefined4 *)(this + 0x74));\n        return 0;\n      }\n      return 0;\n    }\n  }\n  return 2;\n}" ({ "{") (declaration "int *piVar1;" (primitive_type "int") (pointer_declarator "*piVar1" (* "*") (identifier "piVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (if_statement "if (param_1 < (uint)(*(int *)(this + 0x14) - *(int *)(this + 0x10) >> 2)) {\n    piVar1 = *(int **)(*(int *)(this + 0x10) + param_1 * 4);\n    if (piVar1 != (int *)0x0) {\n      iVar2 = (**(code **)(*piVar1 + 0x14))(piVar1);\n      if (iVar2 == 0) {\n        return 2;\n      }\n      if (*(int *)(iVar2 + 0x1c) != 0) {\n        (*(code *)PTR_unlock_00432ed4)(*(int *)(iVar2 + 0x1c) + 0x20,*(undefined4 *)(this + 0x74));\n        return 0;\n      }\n      return 0;\n    }\n  }" (if "if") (parenthesized_expression "(param_1 < (uint)(*(int *)(this + 0x14) - *(int *)(this + 0x10) >> 2))" (( "(") (binary_expression "param_1 < (uint)(*(int *)(this + 0x14) - *(int *)(this + 0x10) >> 2)" (identifier "param_1") (< "<") (call_expression "(uint)(*(int *)(this + 0x14) - *(int *)(this + 0x10) >> 2)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(*(int *)(this + 0x14) - *(int *)(this + 0x10) >> 2)" (( "(") (binary_expression "*(int *)(this + 0x14) - *(int *)(this + 0x10) >> 2" (binary_expression "*(int *)(this + 0x14) - *(int *)(this + 0x10)" (pointer_expression "*(int *)(this + 0x14)" (* "*") (cast_expression "(int *)(this + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(this + 0x14)" (( "(") (binary_expression "this + 0x14" (identifier "this") (+ "+") (number_literal "0x14")) () ")")))) (- "-") (pointer_expression "*(int *)(this + 0x10)" (* "*") (cast_expression "(int *)(this + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(this + 0x10)" (( "(") (binary_expression "this + 0x10" (identifier "this") (+ "+") (number_literal "0x10")) () ")"))))) (>> ">>") (number_literal "2")) () ")")))) () ")")) (compound_statement "{\n    piVar1 = *(int **)(*(int *)(this + 0x10) + param_1 * 4);\n    if (piVar1 != (int *)0x0) {\n      iVar2 = (**(code **)(*piVar1 + 0x14))(piVar1);\n      if (iVar2 == 0) {\n        return 2;\n      }\n      if (*(int *)(iVar2 + 0x1c) != 0) {\n        (*(code *)PTR_unlock_00432ed4)(*(int *)(iVar2 + 0x1c) + 0x20,*(undefined4 *)(this + 0x74));\n        return 0;\n      }\n      return 0;\n    }\n  }" ({ "{") (expression_statement "piVar1 = *(int **)(*(int *)(this + 0x10) + param_1 * 4);" (assignment_expression "piVar1 = *(int **)(*(int *)(this + 0x10) + param_1 * 4)" (identifier "piVar1") (= "=") (pointer_expression "*(int **)(*(int *)(this + 0x10) + param_1 * 4)" (* "*") (cast_expression "(int **)(*(int *)(this + 0x10) + param_1 * 4)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*(int *)(this + 0x10) + param_1 * 4)" (( "(") (binary_expression "*(int *)(this + 0x10) + param_1 * 4" (pointer_expression "*(int *)(this + 0x10)" (* "*") (cast_expression "(int *)(this + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(this + 0x10)" (( "(") (binary_expression "this + 0x10" (identifier "this") (+ "+") (number_literal "0x10")) () ")")))) (+ "+") (binary_expression "param_1 * 4" (identifier "param_1") (* "*") (number_literal "4"))) () ")"))))) (; ";")) (if_statement "if (piVar1 != (int *)0x0) {\n      iVar2 = (**(code **)(*piVar1 + 0x14))(piVar1);\n      if (iVar2 == 0) {\n        return 2;\n      }\n      if (*(int *)(iVar2 + 0x1c) != 0) {\n        (*(code *)PTR_unlock_00432ed4)(*(int *)(iVar2 + 0x1c) + 0x20,*(undefined4 *)(this + 0x74));\n        return 0;\n      }\n      return 0;\n    }" (if "if") (parenthesized_expression "(piVar1 != (int *)0x0)" (( "(") (binary_expression "piVar1 != (int *)0x0" (identifier "piVar1") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      iVar2 = (**(code **)(*piVar1 + 0x14))(piVar1);\n      if (iVar2 == 0) {\n        return 2;\n      }\n      if (*(int *)(iVar2 + 0x1c) != 0) {\n        (*(code *)PTR_unlock_00432ed4)(*(int *)(iVar2 + 0x1c) + 0x20,*(undefined4 *)(this + 0x74));\n        return 0;\n      }\n      return 0;\n    }" ({ "{") (expression_statement "iVar2 = (**(code **)(*piVar1 + 0x14))(piVar1);" (assignment_expression "iVar2 = (**(code **)(*piVar1 + 0x14))(piVar1)" (identifier "iVar2") (= "=") (call_expression "(**(code **)(*piVar1 + 0x14))(piVar1)" (parenthesized_expression "(**(code **)(*piVar1 + 0x14))" (( "(") (pointer_expression "**(code **)(*piVar1 + 0x14)" (* "*") (pointer_expression "*(code **)(*piVar1 + 0x14)" (* "*") (cast_expression "(code **)(*piVar1 + 0x14)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*piVar1 + 0x14)" (( "(") (binary_expression "*piVar1 + 0x14" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (+ "+") (number_literal "0x14")) () ")"))))) () ")")) (argument_list "(piVar1)" (( "(") (identifier "piVar1") () ")")))) (; ";")) (if_statement "if (iVar2 == 0) {\n        return 2;\n      }" (if "if") (parenthesized_expression "(iVar2 == 0)" (( "(") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        return 2;\n      }" ({ "{") (return_statement "return 2;" (return "return") (number_literal "2") (; ";")) (} "}"))) (if_statement "if (*(int *)(iVar2 + 0x1c) != 0) {\n        (*(code *)PTR_unlock_00432ed4)(*(int *)(iVar2 + 0x1c) + 0x20,*(undefined4 *)(this + 0x74));\n        return 0;\n      }" (if "if") (parenthesized_expression "(*(int *)(iVar2 + 0x1c) != 0)" (( "(") (binary_expression "*(int *)(iVar2 + 0x1c) != 0" (pointer_expression "*(int *)(iVar2 + 0x1c)" (* "*") (cast_expression "(int *)(iVar2 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x1c)" (( "(") (binary_expression "iVar2 + 0x1c" (identifier "iVar2") (+ "+") (number_literal "0x1c")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        (*(code *)PTR_unlock_00432ed4)(*(int *)(iVar2 + 0x1c) + 0x20,*(undefined4 *)(this + 0x74));\n        return 0;\n      }" ({ "{") (expression_statement "(*(code *)PTR_unlock_00432ed4)(*(int *)(iVar2 + 0x1c) + 0x20,*(undefined4 *)(this + 0x74));" (call_expression "(*(code *)PTR_unlock_00432ed4)(*(int *)(iVar2 + 0x1c) + 0x20,*(undefined4 *)(this + 0x74))" (parenthesized_expression "(*(code *)PTR_unlock_00432ed4)" (( "(") (pointer_expression "*(code *)PTR_unlock_00432ed4" (* "*") (cast_expression "(code *)PTR_unlock_00432ed4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_unlock_00432ed4"))) () ")")) (argument_list "(*(int *)(iVar2 + 0x1c) + 0x20,*(undefined4 *)(this + 0x74))" (( "(") (binary_expression "*(int *)(iVar2 + 0x1c) + 0x20" (pointer_expression "*(int *)(iVar2 + 0x1c)" (* "*") (cast_expression "(int *)(iVar2 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x1c)" (( "(") (binary_expression "iVar2 + 0x1c" (identifier "iVar2") (+ "+") (number_literal "0x1c")) () ")")))) (+ "+") (number_literal "0x20")) (, ",") (pointer_expression "*(undefined4 *)(this + 0x74)" (* "*") (cast_expression "(undefined4 *)(this + 0x74)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(this + 0x74)" (( "(") (binary_expression "this + 0x74" (identifier "this") (+ "+") (number_literal "0x74")) () ")")))) () ")"))) (; ";")) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (} "}"))) (return_statement "return 2;" (return "return") (number_literal "2") (; ";")) (} "}")))
(translation_unit (function_definition type: (type_identifier) (ms_call_modifier) (ERROR (identifier) (identifier)) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) right: (number_literal)))))) consequence: (compound_statement (expression_statement (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: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (binary_expression left: (identifier) right: (number_literal)))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (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))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)) (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))) (return_statement (number_literal)))) (return_statement (number_literal)))))) (return_statement (number_literal)))))

/* gold::Plugin_manager::MASKED(unsigned int) */

undefined4 __thiscall gold::Plugin_manager::MASKED(Plugin_manager *this,uint param_1)

{
  int *piVar1;
  int iVar2;
  
  if (param_1 < (uint)(*(int *)(this + 0x14) - *(int *)(this + 0x10) >> 2)) {
    piVar1 = *(int **)(*(int *)(this + 0x10) + param_1 * 4);
    if (piVar1 != (int *)0x0) {
      iVar2 = (**(code **)(*piVar1 + 0x14))(piVar1);
      if (iVar2 == 0) {
        return 2;
      }
      if (*(int *)(iVar2 + 0x1c) != 0) {
        (*(code *)PTR_unlock_00432ed4)(*(int *)(iVar2 + 0x1c) + 0x20,*(undefined4 *)(this + 0x74));
        return 0;
      }
      return 0;
    }
  }
  return 2;
}

