
/* DWARF original prototype: void increment_counter(Errors * this, int * counter) */

void __thiscall gold::Errors::increment_counter(Errors *this,int *counter)

{
  undefined3 extraout_var;
  bool bVar2;
  Lock_impl *pLVar1;
  _func_int_varargs **pp_Var3;
  Lock *pLVar4;
  
  bVar2 = Initialize_lock::initialize(&this->initialize_lock_);
  if (CONCAT31(extraout_var,bVar2) == 0) {
    *counter = *counter + 1;
    return;
  }
  pLVar4 = this->lock_;
  pLVar1 = pLVar4->lock_;
  (*pLVar1->_vptr_Lock_impl[2])(pLVar1);
  pLVar1 = pLVar4->lock_;
  pp_Var3 = pLVar1->_vptr_Lock_impl;
  *counter = *counter + 1;
                    /* WARNING: Could not recover jumptable at 0x00172488. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  (*pp_Var3[3])(pLVar1);
  return;
}



/* gold::Errors::increment_counter(int*) */

void __thiscall gold::Errors::increment_counter(Errors *this,int *param_1)

{
  int iVar1;
  int *piVar2;
  undefined4 *puVar3;
  
  iVar1 = Initialize_lock::initialize((Initialize_lock *)(this + 8));
  if (iVar1 == 0) {
    *param_1 = *param_1 + 1;
    return;
  }
  puVar3 = *(undefined4 **)(this + 4);
  piVar2 = (int *)*puVar3;
  (**(code **)(*piVar2 + 8))(piVar2);
  piVar2 = (int *)*puVar3;
  iVar1 = *piVar2;
  *param_1 = *param_1 + 1;
                    /* WARNING: Could not recover jumptable at 0x00172488. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  (**(code **)(iVar1 + 0xc))(piVar2);
  return;
}


lui gp,0x35
addiu gp,gp,0x6e58
addu gp,gp,t9
addiu sp,sp,-0x28
lw t9,-0x723c(gp)
sw s1,0x20(sp)
or s1,a0,zero
addiu a0,a0,0x8
sw s0,0x1c(sp)
sw gp,0x10(sp)
sw ra,0x24(sp)
bal 0x00181488
_or s0,a1,zero
bne v0,zero,0x00172440
_lw ra,0x24(sp)
lw v0,0x0(s0)
lw s1,0x20(sp)
addiu v0,v0,0x1
sw v0,0x0(s0)
lw s0,0x1c(sp)
jr ra
_addiu sp,sp,0x28
lw s1,0x4(s1)
lw v0,0x0(s1)
or a0,v0,zero
lw v0,0x0(v0)
lw t9,0x8(v0)
jalr t9
_nop
lw v1,0x0(s1)
lw v0,0x0(s0)
lw gp,0x10(sp)
or a0,v1,zero
lw ra,0x24(sp)
lw v1,0x0(v1)
addiu v0,v0,0x1
lw s1,0x20(sp)
sw v0,0x0(s0)
lw s0,0x1c(sp)
lw t9,0xc(v1)
jr t9
_addiu sp,sp,0x28
(translation_unit "/* gold::Errors::increment_counter(int*) */\n\nvoid __thiscall gold::Errors::increment_counter(Errors *this,int *param_1)\n\n{\n  int iVar1;\n  int *piVar2;\n  undefined4 *puVar3;\n  \n  iVar1 = Initialize_lock::initialize((Initialize_lock *)(this + 8));\n  if (iVar1 == 0) {\n    *param_1 = *param_1 + 1;\n    return;\n  }\n  puVar3 = *(undefined4 **)(this + 4);\n  piVar2 = (int *)*puVar3;\n  (**(code **)(*piVar2 + 8))(piVar2);\n  piVar2 = (int *)*puVar3;\n  iVar1 = *piVar2;\n  *param_1 = *param_1 + 1;\n                    /* WARNING: Could not recover jumptable at 0x00172488. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (**(code **)(iVar1 + 0xc))(piVar2);\n  return;\n}\n\n" comment (function_definition "void __thiscall gold::Errors::increment_counter(Errors *this,int *param_1)\n\n{\n  int iVar1;\n  int *piVar2;\n  undefined4 *puVar3;\n  \n  iVar1 = Initialize_lock::initialize((Initialize_lock *)(this + 8));\n  if (iVar1 == 0) {\n    *param_1 = *param_1 + 1;\n    return;\n  }\n  puVar3 = *(undefined4 **)(this + 4);\n  piVar2 = (int *)*puVar3;\n  (**(code **)(*piVar2 + 8))(piVar2);\n  piVar2 = (int *)*puVar3;\n  iVar1 = *piVar2;\n  *param_1 = *param_1 + 1;\n                    /* WARNING: Could not recover jumptable at 0x00172488. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (**(code **)(iVar1 + 0xc))(piVar2);\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Errors::" identifier : : identifier : :) (function_declarator "increment_counter(Errors *this,int *param_1)" identifier (parameter_list "(Errors *this,int *param_1)" ( (parameter_declaration "Errors *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  int *piVar2;\n  undefined4 *puVar3;\n  \n  iVar1 = Initialize_lock::initialize((Initialize_lock *)(this + 8));\n  if (iVar1 == 0) {\n    *param_1 = *param_1 + 1;\n    return;\n  }\n  puVar3 = *(undefined4 **)(this + 4);\n  piVar2 = (int *)*puVar3;\n  (**(code **)(*piVar2 + 8))(piVar2);\n  piVar2 = (int *)*puVar3;\n  iVar1 = *piVar2;\n  *param_1 = *param_1 + 1;\n                    /* WARNING: Could not recover jumptable at 0x00172488. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (**(code **)(iVar1 + 0xc))(piVar2);\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (ERROR "iVar1 = Initialize_lock::" (assignment_expression "iVar1 = Initialize_lock" identifier = identifier) : :) (expression_statement "initialize((Initialize_lock *)(this + 8));" (call_expression "initialize((Initialize_lock *)(this + 8))" identifier (argument_list "((Initialize_lock *)(this + 8))" ( (cast_expression "(Initialize_lock *)(this + 8)" ( (type_descriptor "Initialize_lock *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) ))) ))) ;) (if_statement "if (iVar1 == 0) {\n    *param_1 = *param_1 + 1;\n    return;\n  }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    *param_1 = *param_1 + 1;\n    return;\n  }" { (expression_statement "*param_1 = *param_1 + 1;" (assignment_expression "*param_1 = *param_1 + 1" (pointer_expression "*param_1" * identifier) = (binary_expression "*param_1 + 1" (pointer_expression "*param_1" * identifier) + number_literal)) ;) (return_statement "return;" return ;) })) (expression_statement "puVar3 = *(undefined4 **)(this + 4);" (assignment_expression "puVar3 = *(undefined4 **)(this + 4)" identifier = (pointer_expression "*(undefined4 **)(this + 4)" * (cast_expression "(undefined4 **)(this + 4)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + 4)" ( (binary_expression "this + 4" identifier + number_literal) ))))) ;) (expression_statement "piVar2 = (int *)*puVar3;" (assignment_expression "piVar2 = (int *)*puVar3" identifier = (cast_expression "(int *)*puVar3" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar3" * identifier))) ;) (expression_statement "(**(code **)(*piVar2 + 8))(piVar2);" (call_expression "(**(code **)(*piVar2 + 8))(piVar2)" (parenthesized_expression "(**(code **)(*piVar2 + 8))" ( (pointer_expression "**(code **)(*piVar2 + 8)" * (pointer_expression "*(code **)(*piVar2 + 8)" * (cast_expression "(code **)(*piVar2 + 8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar2 + 8)" ( (binary_expression "*piVar2 + 8" (pointer_expression "*piVar2" * identifier) + number_literal) ))))) )) (argument_list "(piVar2)" ( identifier ))) ;) (expression_statement "piVar2 = (int *)*puVar3;" (assignment_expression "piVar2 = (int *)*puVar3" identifier = (cast_expression "(int *)*puVar3" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar3" * identifier))) ;) (expression_statement "iVar1 = *piVar2;" (assignment_expression "iVar1 = *piVar2" identifier = (pointer_expression "*piVar2" * identifier)) ;) (expression_statement "*param_1 = *param_1 + 1;" (assignment_expression "*param_1 = *param_1 + 1" (pointer_expression "*param_1" * identifier) = (binary_expression "*param_1 + 1" (pointer_expression "*param_1" * identifier) + number_literal)) ;) comment comment (expression_statement "(**(code **)(iVar1 + 0xc))(piVar2);" (call_expression "(**(code **)(iVar1 + 0xc))(piVar2)" (parenthesized_expression "(**(code **)(iVar1 + 0xc))" ( (pointer_expression "**(code **)(iVar1 + 0xc)" * (pointer_expression "*(code **)(iVar1 + 0xc)" * (cast_expression "(code **)(iVar1 + 0xc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar1 + 0xc)" ( (binary_expression "iVar1 + 0xc" identifier + number_literal) ))))) )) (argument_list "(piVar2)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* DWARF original prototype: void increment_counter(Errors * this, int * counter) */\n\nvoid __thiscall gold::Errors::increment_counter(Errors *this,int *counter)\n\n{\n  undefined3 extraout_var;\n  bool bVar2;\n  Lock_impl *pLVar1;\n  _func_int_varargs **pp_Var3;\n  Lock *pLVar4;\n  \n  bVar2 = Initialize_lock::initialize(&this->initialize_lock_);\n  if (CONCAT31(extraout_var,bVar2) == 0) {\n    *counter = *counter + 1;\n    return;\n  }\n  pLVar4 = this->lock_;\n  pLVar1 = pLVar4->lock_;\n  (*pLVar1->_vptr_Lock_impl[2])(pLVar1);\n  pLVar1 = pLVar4->lock_;\n  pp_Var3 = pLVar1->_vptr_Lock_impl;\n  *counter = *counter + 1;\n                    /* WARNING: Could not recover jumptable at 0x00172488. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (*pp_Var3[3])(pLVar1);\n  return;\n}\n\n" comment (function_definition "void __thiscall gold::Errors::increment_counter(Errors *this,int *counter)\n\n{\n  undefined3 extraout_var;\n  bool bVar2;\n  Lock_impl *pLVar1;\n  _func_int_varargs **pp_Var3;\n  Lock *pLVar4;\n  \n  bVar2 = Initialize_lock::initialize(&this->initialize_lock_);\n  if (CONCAT31(extraout_var,bVar2) == 0) {\n    *counter = *counter + 1;\n    return;\n  }\n  pLVar4 = this->lock_;\n  pLVar1 = pLVar4->lock_;\n  (*pLVar1->_vptr_Lock_impl[2])(pLVar1);\n  pLVar1 = pLVar4->lock_;\n  pp_Var3 = pLVar1->_vptr_Lock_impl;\n  *counter = *counter + 1;\n                    /* WARNING: Could not recover jumptable at 0x00172488. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (*pp_Var3[3])(pLVar1);\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Errors::" identifier : : identifier : :) (function_declarator "increment_counter(Errors *this,int *counter)" identifier (parameter_list "(Errors *this,int *counter)" ( (parameter_declaration "Errors *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "int *counter" primitive_type (pointer_declarator "*counter" * identifier)) ))) (compound_statement "{\n  undefined3 extraout_var;\n  bool bVar2;\n  Lock_impl *pLVar1;\n  _func_int_varargs **pp_Var3;\n  Lock *pLVar4;\n  \n  bVar2 = Initialize_lock::initialize(&this->initialize_lock_);\n  if (CONCAT31(extraout_var,bVar2) == 0) {\n    *counter = *counter + 1;\n    return;\n  }\n  pLVar4 = this->lock_;\n  pLVar1 = pLVar4->lock_;\n  (*pLVar1->_vptr_Lock_impl[2])(pLVar1);\n  pLVar1 = pLVar4->lock_;\n  pp_Var3 = pLVar1->_vptr_Lock_impl;\n  *counter = *counter + 1;\n                    /* WARNING: Could not recover jumptable at 0x00172488. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (*pp_Var3[3])(pLVar1);\n  return;\n}" { (declaration "undefined3 extraout_var;" type_identifier identifier ;) (declaration "bool bVar2;" primitive_type identifier ;) (declaration "Lock_impl *pLVar1;" type_identifier (pointer_declarator "*pLVar1" * identifier) ;) (declaration "_func_int_varargs **pp_Var3;" type_identifier (pointer_declarator "**pp_Var3" * (pointer_declarator "*pp_Var3" * identifier)) ;) (declaration "Lock *pLVar4;" type_identifier (pointer_declarator "*pLVar4" * identifier) ;) (ERROR "bVar2 = Initialize_lock::" (assignment_expression "bVar2 = Initialize_lock" identifier = identifier) : :) (expression_statement "initialize(&this->initialize_lock_);" (call_expression "initialize(&this->initialize_lock_)" identifier (argument_list "(&this->initialize_lock_)" ( (pointer_expression "&this->initialize_lock_" & (field_expression "this->initialize_lock_" identifier -> field_identifier)) ))) ;) (if_statement "if (CONCAT31(extraout_var,bVar2) == 0) {\n    *counter = *counter + 1;\n    return;\n  }" if (parenthesized_expression "(CONCAT31(extraout_var,bVar2) == 0)" ( (binary_expression "CONCAT31(extraout_var,bVar2) == 0" (call_expression "CONCAT31(extraout_var,bVar2)" identifier (argument_list "(extraout_var,bVar2)" ( identifier , identifier ))) == number_literal) )) (compound_statement "{\n    *counter = *counter + 1;\n    return;\n  }" { (expression_statement "*counter = *counter + 1;" (assignment_expression "*counter = *counter + 1" (pointer_expression "*counter" * identifier) = (binary_expression "*counter + 1" (pointer_expression "*counter" * identifier) + number_literal)) ;) (return_statement "return;" return ;) })) (expression_statement "pLVar4 = this->lock_;" (assignment_expression "pLVar4 = this->lock_" identifier = (field_expression "this->lock_" identifier -> field_identifier)) ;) (expression_statement "pLVar1 = pLVar4->lock_;" (assignment_expression "pLVar1 = pLVar4->lock_" identifier = (field_expression "pLVar4->lock_" identifier -> field_identifier)) ;) (expression_statement "(*pLVar1->_vptr_Lock_impl[2])(pLVar1);" (call_expression "(*pLVar1->_vptr_Lock_impl[2])(pLVar1)" (parenthesized_expression "(*pLVar1->_vptr_Lock_impl[2])" ( (pointer_expression "*pLVar1->_vptr_Lock_impl[2]" * (subscript_expression "pLVar1->_vptr_Lock_impl[2]" (field_expression "pLVar1->_vptr_Lock_impl" identifier -> field_identifier) [ number_literal ])) )) (argument_list "(pLVar1)" ( identifier ))) ;) (expression_statement "pLVar1 = pLVar4->lock_;" (assignment_expression "pLVar1 = pLVar4->lock_" identifier = (field_expression "pLVar4->lock_" identifier -> field_identifier)) ;) (expression_statement "pp_Var3 = pLVar1->_vptr_Lock_impl;" (assignment_expression "pp_Var3 = pLVar1->_vptr_Lock_impl" identifier = (field_expression "pLVar1->_vptr_Lock_impl" identifier -> field_identifier)) ;) (expression_statement "*counter = *counter + 1;" (assignment_expression "*counter = *counter + 1" (pointer_expression "*counter" * identifier) = (binary_expression "*counter + 1" (pointer_expression "*counter" * identifier) + number_literal)) ;) comment comment (expression_statement "(*pp_Var3[3])(pLVar1);" (call_expression "(*pp_Var3[3])(pLVar1)" (parenthesized_expression "(*pp_Var3[3])" ( (pointer_expression "*pp_Var3[3]" * (subscript_expression "pp_Var3[3]" identifier [ number_literal ])) )) (argument_list "(pLVar1)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void __thiscall gold::Errors::increment_counter(Errors *this,int *param_1)\n\n{\n  int iVar1;\n  int *piVar2;\n  undefined4 *puVar3;\n  \n  iVar1 = Initialize_lock::initialize((Initialize_lock *)(this + 8));\n  if (iVar1 == 0) {\n    *param_1 = *param_1 + 1;\n    return;\n  }\n  puVar3 = *(undefined4 **)(this + 4);\n  piVar2 = (int *)*puVar3;\n  (**(code **)(*piVar2 + 8))(piVar2);\n  piVar2 = (int *)*puVar3;\n  iVar1 = *piVar2;\n  *param_1 = *param_1 + 1;\n                    \n                    \n  (**(code **)(iVar1 + 0xc))(piVar2);\n  return;\n}\n\n" (function_definition "void __thiscall gold::Errors::increment_counter(Errors *this,int *param_1)\n\n{\n  int iVar1;\n  int *piVar2;\n  undefined4 *puVar3;\n  \n  iVar1 = Initialize_lock::initialize((Initialize_lock *)(this + 8));\n  if (iVar1 == 0) {\n    *param_1 = *param_1 + 1;\n    return;\n  }\n  puVar3 = *(undefined4 **)(this + 4);\n  piVar2 = (int *)*puVar3;\n  (**(code **)(*piVar2 + 8))(piVar2);\n  piVar2 = (int *)*puVar3;\n  iVar1 = *piVar2;\n  *param_1 = *param_1 + 1;\n                    \n                    \n  (**(code **)(iVar1 + 0xc))(piVar2);\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Errors::" identifier : : identifier : :) (function_declarator "increment_counter(Errors *this,int *param_1)" identifier (parameter_list "(Errors *this,int *param_1)" ( (parameter_declaration "Errors *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  int *piVar2;\n  undefined4 *puVar3;\n  \n  iVar1 = Initialize_lock::initialize((Initialize_lock *)(this + 8));\n  if (iVar1 == 0) {\n    *param_1 = *param_1 + 1;\n    return;\n  }\n  puVar3 = *(undefined4 **)(this + 4);\n  piVar2 = (int *)*puVar3;\n  (**(code **)(*piVar2 + 8))(piVar2);\n  piVar2 = (int *)*puVar3;\n  iVar1 = *piVar2;\n  *param_1 = *param_1 + 1;\n                    \n                    \n  (**(code **)(iVar1 + 0xc))(piVar2);\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (ERROR "iVar1 = Initialize_lock::" (assignment_expression "iVar1 = Initialize_lock" identifier = identifier) : :) (expression_statement "initialize((Initialize_lock *)(this + 8));" (call_expression "initialize((Initialize_lock *)(this + 8))" identifier (argument_list "((Initialize_lock *)(this + 8))" ( (cast_expression "(Initialize_lock *)(this + 8)" ( (type_descriptor "Initialize_lock *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) ))) ))) ;) (if_statement "if (iVar1 == 0) {\n    *param_1 = *param_1 + 1;\n    return;\n  }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    *param_1 = *param_1 + 1;\n    return;\n  }" { (expression_statement "*param_1 = *param_1 + 1;" (assignment_expression "*param_1 = *param_1 + 1" (pointer_expression "*param_1" * identifier) = (binary_expression "*param_1 + 1" (pointer_expression "*param_1" * identifier) + number_literal)) ;) (return_statement "return;" return ;) })) (expression_statement "puVar3 = *(undefined4 **)(this + 4);" (assignment_expression "puVar3 = *(undefined4 **)(this + 4)" identifier = (pointer_expression "*(undefined4 **)(this + 4)" * (cast_expression "(undefined4 **)(this + 4)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + 4)" ( (binary_expression "this + 4" identifier + number_literal) ))))) ;) (expression_statement "piVar2 = (int *)*puVar3;" (assignment_expression "piVar2 = (int *)*puVar3" identifier = (cast_expression "(int *)*puVar3" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar3" * identifier))) ;) (expression_statement "(**(code **)(*piVar2 + 8))(piVar2);" (call_expression "(**(code **)(*piVar2 + 8))(piVar2)" (parenthesized_expression "(**(code **)(*piVar2 + 8))" ( (pointer_expression "**(code **)(*piVar2 + 8)" * (pointer_expression "*(code **)(*piVar2 + 8)" * (cast_expression "(code **)(*piVar2 + 8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar2 + 8)" ( (binary_expression "*piVar2 + 8" (pointer_expression "*piVar2" * identifier) + number_literal) ))))) )) (argument_list "(piVar2)" ( identifier ))) ;) (expression_statement "piVar2 = (int *)*puVar3;" (assignment_expression "piVar2 = (int *)*puVar3" identifier = (cast_expression "(int *)*puVar3" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar3" * identifier))) ;) (expression_statement "iVar1 = *piVar2;" (assignment_expression "iVar1 = *piVar2" identifier = (pointer_expression "*piVar2" * identifier)) ;) (expression_statement "*param_1 = *param_1 + 1;" (assignment_expression "*param_1 = *param_1 + 1" (pointer_expression "*param_1" * identifier) = (binary_expression "*param_1 + 1" (pointer_expression "*param_1" * identifier) + number_literal)) ;) (expression_statement "(**(code **)(iVar1 + 0xc))(piVar2);" (call_expression "(**(code **)(iVar1 + 0xc))(piVar2)" (parenthesized_expression "(**(code **)(iVar1 + 0xc))" ( (pointer_expression "**(code **)(iVar1 + 0xc)" * (pointer_expression "*(code **)(iVar1 + 0xc)" * (cast_expression "(code **)(iVar1 + 0xc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar1 + 0xc)" ( (binary_expression "iVar1 + 0xc" identifier + number_literal) ))))) )) (argument_list "(piVar2)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(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 (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (ERROR (assignment_expression IDENT = IDENT) : :) (expression_statement (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))) ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression (pointer_expression * IDENT) + LIT)) ;) (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) )) (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression (pointer_expression * IDENT) + LIT)) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT ))) ;) (return_statement return ;) })))
(function_definition "void __thiscall gold::Errors::increment_counter(Errors *this,int *param_1)\n\n{\n  int iVar1;\n  int *piVar2;\n  undefined4 *puVar3;\n  \n  iVar1 = Initialize_lock::initialize((Initialize_lock *)(this + 8));\n  if (iVar1 == 0) {\n    *param_1 = *param_1 + 1;\n    return;\n  }\n  puVar3 = *(undefined4 **)(this + 4);\n  piVar2 = (int *)*puVar3;\n  (**(code **)(*piVar2 + 8))(piVar2);\n  piVar2 = (int *)*puVar3;\n  iVar1 = *piVar2;\n  *param_1 = *param_1 + 1;\n                    \n                    \n  (**(code **)(iVar1 + 0xc))(piVar2);\n  return;\n}" (primitive_type "void") (ms_call_modifier "__thiscall" (__thiscall "__thiscall")) (ERROR "gold::Errors::" (identifier "gold") (: ":") (: ":") (identifier "Errors") (: ":") (: ":")) (function_declarator "increment_counter(Errors *this,int *param_1)" (identifier "increment_counter") (parameter_list "(Errors *this,int *param_1)" (( "(") (parameter_declaration "Errors *this" (type_identifier "Errors") (pointer_declarator "*this" (* "*") (identifier "this"))) (, ",") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  int iVar1;\n  int *piVar2;\n  undefined4 *puVar3;\n  \n  iVar1 = Initialize_lock::initialize((Initialize_lock *)(this + 8));\n  if (iVar1 == 0) {\n    *param_1 = *param_1 + 1;\n    return;\n  }\n  puVar3 = *(undefined4 **)(this + 4);\n  piVar2 = (int *)*puVar3;\n  (**(code **)(*piVar2 + 8))(piVar2);\n  piVar2 = (int *)*puVar3;\n  iVar1 = *piVar2;\n  *param_1 = *param_1 + 1;\n                    \n                    \n  (**(code **)(iVar1 + 0xc))(piVar2);\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "int *piVar2;" (primitive_type "int") (pointer_declarator "*piVar2" (* "*") (identifier "piVar2")) (; ";")) (declaration "undefined4 *puVar3;" (type_identifier "undefined4") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (ERROR "iVar1 = Initialize_lock::" (assignment_expression "iVar1 = Initialize_lock" (identifier "iVar1") (= "=") (identifier "Initialize_lock")) (: ":") (: ":")) (expression_statement "initialize((Initialize_lock *)(this + 8));" (call_expression "initialize((Initialize_lock *)(this + 8))" (identifier "initialize") (argument_list "((Initialize_lock *)(this + 8))" (( "(") (cast_expression "(Initialize_lock *)(this + 8)" (( "(") (type_descriptor "Initialize_lock *" (type_identifier "Initialize_lock") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(this + 8)" (( "(") (binary_expression "this + 8" (identifier "this") (+ "+") (number_literal "8")) () ")"))) () ")"))) (; ";")) (if_statement "if (iVar1 == 0) {\n    *param_1 = *param_1 + 1;\n    return;\n  }" (if "if") (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    *param_1 = *param_1 + 1;\n    return;\n  }" ({ "{") (expression_statement "*param_1 = *param_1 + 1;" (assignment_expression "*param_1 = *param_1 + 1" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (binary_expression "*param_1 + 1" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "1"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "puVar3 = *(undefined4 **)(this + 4);" (assignment_expression "puVar3 = *(undefined4 **)(this + 4)" (identifier "puVar3") (= "=") (pointer_expression "*(undefined4 **)(this + 4)" (* "*") (cast_expression "(undefined4 **)(this + 4)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(this + 4)" (( "(") (binary_expression "this + 4" (identifier "this") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (expression_statement "piVar2 = (int *)*puVar3;" (assignment_expression "piVar2 = (int *)*puVar3" (identifier "piVar2") (= "=") (cast_expression "(int *)*puVar3" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar3" (* "*") (identifier "puVar3")))) (; ";")) (expression_statement "(**(code **)(*piVar2 + 8))(piVar2);" (call_expression "(**(code **)(*piVar2 + 8))(piVar2)" (parenthesized_expression "(**(code **)(*piVar2 + 8))" (( "(") (pointer_expression "**(code **)(*piVar2 + 8)" (* "*") (pointer_expression "*(code **)(*piVar2 + 8)" (* "*") (cast_expression "(code **)(*piVar2 + 8)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*piVar2 + 8)" (( "(") (binary_expression "*piVar2 + 8" (pointer_expression "*piVar2" (* "*") (identifier "piVar2")) (+ "+") (number_literal "8")) () ")"))))) () ")")) (argument_list "(piVar2)" (( "(") (identifier "piVar2") () ")"))) (; ";")) (expression_statement "piVar2 = (int *)*puVar3;" (assignment_expression "piVar2 = (int *)*puVar3" (identifier "piVar2") (= "=") (cast_expression "(int *)*puVar3" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar3" (* "*") (identifier "puVar3")))) (; ";")) (expression_statement "iVar1 = *piVar2;" (assignment_expression "iVar1 = *piVar2" (identifier "iVar1") (= "=") (pointer_expression "*piVar2" (* "*") (identifier "piVar2"))) (; ";")) (expression_statement "*param_1 = *param_1 + 1;" (assignment_expression "*param_1 = *param_1 + 1" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (binary_expression "*param_1 + 1" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "(**(code **)(iVar1 + 0xc))(piVar2);" (call_expression "(**(code **)(iVar1 + 0xc))(piVar2)" (parenthesized_expression "(**(code **)(iVar1 + 0xc))" (( "(") (pointer_expression "**(code **)(iVar1 + 0xc)" (* "*") (pointer_expression "*(code **)(iVar1 + 0xc)" (* "*") (cast_expression "(code **)(iVar1 + 0xc)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar1 + 0xc)" (( "(") (binary_expression "iVar1 + 0xc" (identifier "iVar1") (+ "+") (number_literal "0xc")) () ")"))))) () ")")) (argument_list "(piVar2)" (( "(") (identifier "piVar2") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))
(translation_unit (function_definition type: (primitive_type) (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: (primitive_type) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (ERROR (assignment_expression left: (identifier) right: (identifier))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal)))) (return_statement))) (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))))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))) (expression_statement (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)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal)))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list (identifier)))) (return_statement))))

/* gold::Errors::MASKED(int*) */

void __thiscall gold::Errors::MASKED(Errors *this,int *param_1)

{
  int iVar1;
  int *piVar2;
  undefined4 *puVar3;
  
  iVar1 = Initialize_lock::initialize((Initialize_lock *)(this + 8));
  if (iVar1 == 0) {
    *param_1 = *param_1 + 1;
    return;
  }
  puVar3 = *(undefined4 **)(this + 4);
  piVar2 = (int *)*puVar3;
  (**(code **)(*piVar2 + 8))(piVar2);
  piVar2 = (int *)*puVar3;
  iVar1 = *piVar2;
  *param_1 = *param_1 + 1;
                    /* WARNING: Could not recover jumptable at 0x00172488. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  (**(code **)(iVar1 + 0xc))(piVar2);
  return;
}

