
/* DWARF original prototype: void unlock(View * this) */

void __thiscall gold::File_read::View::unlock(View *this)

{
  if (0 < this->lock_count_) {
    this->lock_count_ = this->lock_count_ + -1;
    return;
  }
                    /* WARNING: Subroutine does not return */
  do_gold_unreachable(PTR_s_alize_xindex_004323b4 + -0x5b90,0xa4,
                      PTR_s_alize_xindex_004323b4 + -0x57f0);
}



void FUN_000e70a8(int param_1)

{
  if (0 < *(int *)(param_1 + 0x10)) {
    *(int *)(param_1 + 0x10) = *(int *)(param_1 + 0x10) + -1;
    return;
  }
                    /* WARNING: Subroutine does not return */
  gold::do_gold_unreachable
            (PTR_s_alize_xindex_004323b4 + -0x5b90,0xa4,PTR_s_alize_xindex_004323b4 + -0x57f0);
}


lui gp,0x35
addiu gp,gp,0x3128
addu gp,gp,t9
lw v0,0x10(a0)
blez v0,0x000e70c8
_addiu v0,v0,-0x1
jr ra
_sw v0,0x10(a0)
lw a2,-0x7e1c(gp)
addiu sp,sp,-0x20
lw a0,-0x7e1c(gp)
li a1,0xa4
lw t9,-0x7e0c(gp)
addiu a2,a2,-0x57f0
sw gp,0x10(sp)
sw ra,0x1c(sp)
bal 0x000eb2f0
_addiu a0,a0,-0x5b90
(translation_unit "void FUN_000e70a8(int param_1)\n\n{\n  if (0 < *(int *)(param_1 + 0x10)) {\n    *(int *)(param_1 + 0x10) = *(int *)(param_1 + 0x10) + -1;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  gold::do_gold_unreachable\n            (PTR_s_alize_xindex_004323b4 + -0x5b90,0xa4,PTR_s_alize_xindex_004323b4 + -0x57f0);\n}\n\n" (function_definition "void FUN_000e70a8(int param_1)\n\n{\n  if (0 < *(int *)(param_1 + 0x10)) {\n    *(int *)(param_1 + 0x10) = *(int *)(param_1 + 0x10) + -1;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  gold::do_gold_unreachable\n            (PTR_s_alize_xindex_004323b4 + -0x5b90,0xa4,PTR_s_alize_xindex_004323b4 + -0x57f0);\n}" primitive_type (function_declarator "FUN_000e70a8(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  if (0 < *(int *)(param_1 + 0x10)) {\n    *(int *)(param_1 + 0x10) = *(int *)(param_1 + 0x10) + -1;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  gold::do_gold_unreachable\n            (PTR_s_alize_xindex_004323b4 + -0x5b90,0xa4,PTR_s_alize_xindex_004323b4 + -0x57f0);\n}" { (if_statement "if (0 < *(int *)(param_1 + 0x10)) {\n    *(int *)(param_1 + 0x10) = *(int *)(param_1 + 0x10) + -1;\n    return;\n  }" if (parenthesized_expression "(0 < *(int *)(param_1 + 0x10))" ( (binary_expression "0 < *(int *)(param_1 + 0x10)" number_literal < (pointer_expression "*(int *)(param_1 + 0x10)" * (cast_expression "(int *)(param_1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) ))))) )) (compound_statement "{\n    *(int *)(param_1 + 0x10) = *(int *)(param_1 + 0x10) + -1;\n    return;\n  }" { (expression_statement "*(int *)(param_1 + 0x10) = *(int *)(param_1 + 0x10) + -1;" (assignment_expression "*(int *)(param_1 + 0x10) = *(int *)(param_1 + 0x10) + -1" (pointer_expression "*(int *)(param_1 + 0x10)" * (cast_expression "(int *)(param_1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) = (binary_expression "*(int *)(param_1 + 0x10) + -1" (pointer_expression "*(int *)(param_1 + 0x10)" * (cast_expression "(int *)(param_1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) + number_literal)) ;) (return_statement "return;" return ;) })) comment (labeled_statement "gold::do_gold_unreachable\n            (PTR_s_alize_xindex_004323b4 + -0x5b90,0xa4,PTR_s_alize_xindex_004323b4 + -0x57f0);" statement_identifier : (ERROR ":" :) (expression_statement "do_gold_unreachable\n            (PTR_s_alize_xindex_004323b4 + -0x5b90,0xa4,PTR_s_alize_xindex_004323b4 + -0x57f0);" (call_expression "do_gold_unreachable\n            (PTR_s_alize_xindex_004323b4 + -0x5b90,0xa4,PTR_s_alize_xindex_004323b4 + -0x57f0)" identifier (argument_list "(PTR_s_alize_xindex_004323b4 + -0x5b90,0xa4,PTR_s_alize_xindex_004323b4 + -0x57f0)" ( (binary_expression "PTR_s_alize_xindex_004323b4 + -0x5b90" identifier + number_literal) , number_literal , (binary_expression "PTR_s_alize_xindex_004323b4 + -0x57f0" identifier + number_literal) ))) ;)) })))
(translation_unit "/* DWARF original prototype: void unlock(View * this) */\n\nvoid __thiscall gold::File_read::View::unlock(View *this)\n\n{\n  if (0 < this->lock_count_) {\n    this->lock_count_ = this->lock_count_ + -1;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable(PTR_s_alize_xindex_004323b4 + -0x5b90,0xa4,\n                      PTR_s_alize_xindex_004323b4 + -0x57f0);\n}\n\n" comment (function_definition "void __thiscall gold::File_read::View::unlock(View *this)\n\n{\n  if (0 < this->lock_count_) {\n    this->lock_count_ = this->lock_count_ + -1;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable(PTR_s_alize_xindex_004323b4 + -0x5b90,0xa4,\n                      PTR_s_alize_xindex_004323b4 + -0x57f0);\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::File_read::View::" identifier : : identifier : : identifier : :) (function_declarator "unlock(View *this)" identifier (parameter_list "(View *this)" ( (parameter_declaration "View *this" type_identifier (pointer_declarator "*this" * identifier)) ))) (compound_statement "{\n  if (0 < this->lock_count_) {\n    this->lock_count_ = this->lock_count_ + -1;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable(PTR_s_alize_xindex_004323b4 + -0x5b90,0xa4,\n                      PTR_s_alize_xindex_004323b4 + -0x57f0);\n}" { (if_statement "if (0 < this->lock_count_) {\n    this->lock_count_ = this->lock_count_ + -1;\n    return;\n  }" if (parenthesized_expression "(0 < this->lock_count_)" ( (binary_expression "0 < this->lock_count_" number_literal < (field_expression "this->lock_count_" identifier -> field_identifier)) )) (compound_statement "{\n    this->lock_count_ = this->lock_count_ + -1;\n    return;\n  }" { (expression_statement "this->lock_count_ = this->lock_count_ + -1;" (assignment_expression "this->lock_count_ = this->lock_count_ + -1" (field_expression "this->lock_count_" identifier -> field_identifier) = (binary_expression "this->lock_count_ + -1" (field_expression "this->lock_count_" identifier -> field_identifier) + number_literal)) ;) (return_statement "return;" return ;) })) comment (expression_statement "do_gold_unreachable(PTR_s_alize_xindex_004323b4 + -0x5b90,0xa4,\n                      PTR_s_alize_xindex_004323b4 + -0x57f0);" (call_expression "do_gold_unreachable(PTR_s_alize_xindex_004323b4 + -0x5b90,0xa4,\n                      PTR_s_alize_xindex_004323b4 + -0x57f0)" identifier (argument_list "(PTR_s_alize_xindex_004323b4 + -0x5b90,0xa4,\n                      PTR_s_alize_xindex_004323b4 + -0x57f0)" ( (binary_expression "PTR_s_alize_xindex_004323b4 + -0x5b90" identifier + number_literal) , number_literal , (binary_expression "PTR_s_alize_xindex_004323b4 + -0x57f0" identifier + number_literal) ))) ;) })))
(translation_unit "void FUN_000e70a8(int param_1)\n\n{\n  if (0 < *(int *)(param_1 + 0x10)) {\n    *(int *)(param_1 + 0x10) = *(int *)(param_1 + 0x10) + -1;\n    return;\n  }\n                    \n  gold::do_gold_unreachable\n            (PTR_s_alize_xindex_004323b4 + -0x5b90,0xa4,PTR_s_alize_xindex_004323b4 + -0x57f0);\n}\n\n" (function_definition "void FUN_000e70a8(int param_1)\n\n{\n  if (0 < *(int *)(param_1 + 0x10)) {\n    *(int *)(param_1 + 0x10) = *(int *)(param_1 + 0x10) + -1;\n    return;\n  }\n                    \n  gold::do_gold_unreachable\n            (PTR_s_alize_xindex_004323b4 + -0x5b90,0xa4,PTR_s_alize_xindex_004323b4 + -0x57f0);\n}" primitive_type (function_declarator "FUN_000e70a8(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  if (0 < *(int *)(param_1 + 0x10)) {\n    *(int *)(param_1 + 0x10) = *(int *)(param_1 + 0x10) + -1;\n    return;\n  }\n                    \n  gold::do_gold_unreachable\n            (PTR_s_alize_xindex_004323b4 + -0x5b90,0xa4,PTR_s_alize_xindex_004323b4 + -0x57f0);\n}" { (if_statement "if (0 < *(int *)(param_1 + 0x10)) {\n    *(int *)(param_1 + 0x10) = *(int *)(param_1 + 0x10) + -1;\n    return;\n  }" if (parenthesized_expression "(0 < *(int *)(param_1 + 0x10))" ( (binary_expression "0 < *(int *)(param_1 + 0x10)" number_literal < (pointer_expression "*(int *)(param_1 + 0x10)" * (cast_expression "(int *)(param_1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) ))))) )) (compound_statement "{\n    *(int *)(param_1 + 0x10) = *(int *)(param_1 + 0x10) + -1;\n    return;\n  }" { (expression_statement "*(int *)(param_1 + 0x10) = *(int *)(param_1 + 0x10) + -1;" (assignment_expression "*(int *)(param_1 + 0x10) = *(int *)(param_1 + 0x10) + -1" (pointer_expression "*(int *)(param_1 + 0x10)" * (cast_expression "(int *)(param_1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) = (binary_expression "*(int *)(param_1 + 0x10) + -1" (pointer_expression "*(int *)(param_1 + 0x10)" * (cast_expression "(int *)(param_1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) + number_literal)) ;) (return_statement "return;" return ;) })) (labeled_statement "gold::do_gold_unreachable\n            (PTR_s_alize_xindex_004323b4 + -0x5b90,0xa4,PTR_s_alize_xindex_004323b4 + -0x57f0);" statement_identifier : (ERROR ":" :) (expression_statement "do_gold_unreachable\n            (PTR_s_alize_xindex_004323b4 + -0x5b90,0xa4,PTR_s_alize_xindex_004323b4 + -0x57f0);" (call_expression "do_gold_unreachable\n            (PTR_s_alize_xindex_004323b4 + -0x5b90,0xa4,PTR_s_alize_xindex_004323b4 + -0x57f0)" identifier (argument_list "(PTR_s_alize_xindex_004323b4 + -0x5b90,0xa4,PTR_s_alize_xindex_004323b4 + -0x57f0)" ( (binary_expression "PTR_s_alize_xindex_004323b4 + -0x5b90" identifier + number_literal) , number_literal , (binary_expression "PTR_s_alize_xindex_004323b4 + -0x57f0" identifier + number_literal) ))) ;)) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression LIT < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT)) ;) (return_statement return ;) })) (labeled_statement statement_identifier : (ERROR :) (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , LIT , (binary_expression IDENT + LIT) ))) ;)) })))
(function_definition "void FUN_000e70a8(int param_1)\n\n{\n  if (0 < *(int *)(param_1 + 0x10)) {\n    *(int *)(param_1 + 0x10) = *(int *)(param_1 + 0x10) + -1;\n    return;\n  }\n                    \n  gold::do_gold_unreachable\n            (PTR_s_alize_xindex_004323b4 + -0x5b90,0xa4,PTR_s_alize_xindex_004323b4 + -0x57f0);\n}" (primitive_type "void") (function_declarator "FUN_000e70a8(int param_1)" (identifier "FUN_000e70a8") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  if (0 < *(int *)(param_1 + 0x10)) {\n    *(int *)(param_1 + 0x10) = *(int *)(param_1 + 0x10) + -1;\n    return;\n  }\n                    \n  gold::do_gold_unreachable\n            (PTR_s_alize_xindex_004323b4 + -0x5b90,0xa4,PTR_s_alize_xindex_004323b4 + -0x57f0);\n}" ({ "{") (if_statement "if (0 < *(int *)(param_1 + 0x10)) {\n    *(int *)(param_1 + 0x10) = *(int *)(param_1 + 0x10) + -1;\n    return;\n  }" (if "if") (parenthesized_expression "(0 < *(int *)(param_1 + 0x10))" (( "(") (binary_expression "0 < *(int *)(param_1 + 0x10)" (number_literal "0") (< "<") (pointer_expression "*(int *)(param_1 + 0x10)" (* "*") (cast_expression "(int *)(param_1 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")"))))) () ")")) (compound_statement "{\n    *(int *)(param_1 + 0x10) = *(int *)(param_1 + 0x10) + -1;\n    return;\n  }" ({ "{") (expression_statement "*(int *)(param_1 + 0x10) = *(int *)(param_1 + 0x10) + -1;" (assignment_expression "*(int *)(param_1 + 0x10) = *(int *)(param_1 + 0x10) + -1" (pointer_expression "*(int *)(param_1 + 0x10)" (* "*") (cast_expression "(int *)(param_1 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")")))) (= "=") (binary_expression "*(int *)(param_1 + 0x10) + -1" (pointer_expression "*(int *)(param_1 + 0x10)" (* "*") (cast_expression "(int *)(param_1 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")")))) (+ "+") (number_literal "-1"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (labeled_statement "gold::do_gold_unreachable\n            (PTR_s_alize_xindex_004323b4 + -0x5b90,0xa4,PTR_s_alize_xindex_004323b4 + -0x57f0);" (statement_identifier "gold") (: ":") (ERROR ":" (: ":")) (expression_statement "do_gold_unreachable\n            (PTR_s_alize_xindex_004323b4 + -0x5b90,0xa4,PTR_s_alize_xindex_004323b4 + -0x57f0);" (call_expression "do_gold_unreachable\n            (PTR_s_alize_xindex_004323b4 + -0x5b90,0xa4,PTR_s_alize_xindex_004323b4 + -0x57f0)" (identifier "do_gold_unreachable") (argument_list "(PTR_s_alize_xindex_004323b4 + -0x5b90,0xa4,PTR_s_alize_xindex_004323b4 + -0x57f0)" (( "(") (binary_expression "PTR_s_alize_xindex_004323b4 + -0x5b90" (identifier "PTR_s_alize_xindex_004323b4") (+ "+") (number_literal "-0x5b90")) (, ",") (number_literal "0xa4") (, ",") (binary_expression "PTR_s_alize_xindex_004323b4 + -0x57f0" (identifier "PTR_s_alize_xindex_004323b4") (+ "+") (number_literal "-0x57f0")) () ")"))) (; ";"))) (} "}")))

/* DWARF original prototype: void unlock(View * this) */

void __thiscall gold::File_read::type_1::function_1(type_1 *this)

{
  if (0 < this->lock_count_) {
    this->lock_count_ = this->lock_count_ + -1;
    return;
  }
                    /* WARNING: Subroutine does not return */
  var_1(var_2 + -0x5b90,0xa4,
                      var_2 + -0x57f0);
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (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))))))) consequence: (compound_statement (expression_statement (assignment_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: (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)))) (return_statement))) (labeled_statement label: (statement_identifier) (ERROR) (expression_statement (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (number_literal) (binary_expression left: (identifier) right: (number_literal)))))))))

void MASKED(int param_1)

{
  if (0 < *(int *)(param_1 + 0x10)) {
    *(int *)(param_1 + 0x10) = *(int *)(param_1 + 0x10) + -1;
    return;
  }
                    /* WARNING: Subroutine does not return */
  gold::do_gold_unreachable
            (PTR_s_alize_xindex_004323b4 + -0x5b90,0xa4,PTR_s_alize_xindex_004323b4 + -0x57f0);
}

