
/* 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("../../gold/fileread.cc",0xa4,"unlock");
}



void FUN_00192850(long param_1)

{
  if (0 < *(int *)(param_1 + 0x18)) {
    *(int *)(param_1 + 0x18) = *(int *)(param_1 + 0x18) + -1;
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_00199900("../../gold/fileread.cc",0xa4,"unlock");
}


MOV EAX,dword ptr [RDI + 0x18]
TEST EAX,EAX
JLE 0x0019285e
SUB EAX,0x1
MOV dword ptr [RDI + 0x18],EAX
RET
PUSH RAX
LEA RDX,[0x33fc5b]
MOV ESI,0xa4
LEA RDI,[0x33f8c8]
CALL 0x00199900
(translation_unit "void FUN_00192850(long param_1)\n\n{\n  if (0 < *(int *)(param_1 + 0x18)) {\n    *(int *)(param_1 + 0x18) = *(int *)(param_1 + 0x18) + -1;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00199900("../../gold/fileread.cc",0xa4,"unlock");\n}\n\n" (function_definition "void FUN_00192850(long param_1)\n\n{\n  if (0 < *(int *)(param_1 + 0x18)) {\n    *(int *)(param_1 + 0x18) = *(int *)(param_1 + 0x18) + -1;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00199900("../../gold/fileread.cc",0xa4,"unlock");\n}" primitive_type (function_declarator "FUN_00192850(long param_1)" identifier (parameter_list "(long param_1)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  if (0 < *(int *)(param_1 + 0x18)) {\n    *(int *)(param_1 + 0x18) = *(int *)(param_1 + 0x18) + -1;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00199900("../../gold/fileread.cc",0xa4,"unlock");\n}" { (if_statement "if (0 < *(int *)(param_1 + 0x18)) {\n    *(int *)(param_1 + 0x18) = *(int *)(param_1 + 0x18) + -1;\n    return;\n  }" if (parenthesized_expression "(0 < *(int *)(param_1 + 0x18))" ( (binary_expression "0 < *(int *)(param_1 + 0x18)" number_literal < (pointer_expression "*(int *)(param_1 + 0x18)" * (cast_expression "(int *)(param_1 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) ))))) )) (compound_statement "{\n    *(int *)(param_1 + 0x18) = *(int *)(param_1 + 0x18) + -1;\n    return;\n  }" { (expression_statement "*(int *)(param_1 + 0x18) = *(int *)(param_1 + 0x18) + -1;" (assignment_expression "*(int *)(param_1 + 0x18) = *(int *)(param_1 + 0x18) + -1" (pointer_expression "*(int *)(param_1 + 0x18)" * (cast_expression "(int *)(param_1 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) )))) = (binary_expression "*(int *)(param_1 + 0x18) + -1" (pointer_expression "*(int *)(param_1 + 0x18)" * (cast_expression "(int *)(param_1 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) )))) + number_literal)) ;) (return_statement "return;" return ;) })) comment (expression_statement "FUN_00199900("../../gold/fileread.cc",0xa4,"unlock");" (call_expression "FUN_00199900("../../gold/fileread.cc",0xa4,"unlock")" identifier (argument_list "("../../gold/fileread.cc",0xa4,"unlock")" ( (string_literal ""../../gold/fileread.cc"" " string_content ") , number_literal , (string_literal ""unlock"" " string_content ") ))) ;) })))
(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("../../gold/fileread.cc",0xa4,"unlock");\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("../../gold/fileread.cc",0xa4,"unlock");\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("../../gold/fileread.cc",0xa4,"unlock");\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("../../gold/fileread.cc",0xa4,"unlock");" (call_expression "do_gold_unreachable("../../gold/fileread.cc",0xa4,"unlock")" identifier (argument_list "("../../gold/fileread.cc",0xa4,"unlock")" ( (string_literal ""../../gold/fileread.cc"" " string_content ") , number_literal , (string_literal ""unlock"" " string_content ") ))) ;) })))
(translation_unit "void FUN_00192850(long param_1)\n\n{\n  if (0 < *(int *)(param_1 + 0x18)) {\n    *(int *)(param_1 + 0x18) = *(int *)(param_1 + 0x18) + -1;\n    return;\n  }\n                    \n  FUN_00199900("../../gold/fileread.cc",0xa4,"unlock");\n}\n\n" (function_definition "void FUN_00192850(long param_1)\n\n{\n  if (0 < *(int *)(param_1 + 0x18)) {\n    *(int *)(param_1 + 0x18) = *(int *)(param_1 + 0x18) + -1;\n    return;\n  }\n                    \n  FUN_00199900("../../gold/fileread.cc",0xa4,"unlock");\n}" primitive_type (function_declarator "FUN_00192850(long param_1)" identifier (parameter_list "(long param_1)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  if (0 < *(int *)(param_1 + 0x18)) {\n    *(int *)(param_1 + 0x18) = *(int *)(param_1 + 0x18) + -1;\n    return;\n  }\n                    \n  FUN_00199900("../../gold/fileread.cc",0xa4,"unlock");\n}" { (if_statement "if (0 < *(int *)(param_1 + 0x18)) {\n    *(int *)(param_1 + 0x18) = *(int *)(param_1 + 0x18) + -1;\n    return;\n  }" if (parenthesized_expression "(0 < *(int *)(param_1 + 0x18))" ( (binary_expression "0 < *(int *)(param_1 + 0x18)" number_literal < (pointer_expression "*(int *)(param_1 + 0x18)" * (cast_expression "(int *)(param_1 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) ))))) )) (compound_statement "{\n    *(int *)(param_1 + 0x18) = *(int *)(param_1 + 0x18) + -1;\n    return;\n  }" { (expression_statement "*(int *)(param_1 + 0x18) = *(int *)(param_1 + 0x18) + -1;" (assignment_expression "*(int *)(param_1 + 0x18) = *(int *)(param_1 + 0x18) + -1" (pointer_expression "*(int *)(param_1 + 0x18)" * (cast_expression "(int *)(param_1 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) )))) = (binary_expression "*(int *)(param_1 + 0x18) + -1" (pointer_expression "*(int *)(param_1 + 0x18)" * (cast_expression "(int *)(param_1 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) )))) + number_literal)) ;) (return_statement "return;" return ;) })) (expression_statement "FUN_00199900("../../gold/fileread.cc",0xa4,"unlock");" (call_expression "FUN_00199900("../../gold/fileread.cc",0xa4,"unlock")" identifier (argument_list "("../../gold/fileread.cc",0xa4,"unlock")" ( (string_literal ""../../gold/fileread.cc"" " string_content ") , number_literal , (string_literal ""unlock"" " string_content ") ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) 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 ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })))
(function_definition "void FUN_00192850(long param_1)\n\n{\n  if (0 < *(int *)(param_1 + 0x18)) {\n    *(int *)(param_1 + 0x18) = *(int *)(param_1 + 0x18) + -1;\n    return;\n  }\n                    \n  FUN_00199900("../../gold/fileread.cc",0xa4,"unlock");\n}" (primitive_type "void") (function_declarator "FUN_00192850(long param_1)" (identifier "FUN_00192850") (parameter_list "(long param_1)" (( "(") (parameter_declaration "long param_1" (sized_type_specifier "long" (long "long")) (identifier "param_1")) () ")"))) (compound_statement "{\n  if (0 < *(int *)(param_1 + 0x18)) {\n    *(int *)(param_1 + 0x18) = *(int *)(param_1 + 0x18) + -1;\n    return;\n  }\n                    \n  FUN_00199900("../../gold/fileread.cc",0xa4,"unlock");\n}" ({ "{") (if_statement "if (0 < *(int *)(param_1 + 0x18)) {\n    *(int *)(param_1 + 0x18) = *(int *)(param_1 + 0x18) + -1;\n    return;\n  }" (if "if") (parenthesized_expression "(0 < *(int *)(param_1 + 0x18))" (( "(") (binary_expression "0 < *(int *)(param_1 + 0x18)" (number_literal "0") (< "<") (pointer_expression "*(int *)(param_1 + 0x18)" (* "*") (cast_expression "(int *)(param_1 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x18)" (( "(") (binary_expression "param_1 + 0x18" (identifier "param_1") (+ "+") (number_literal "0x18")) () ")"))))) () ")")) (compound_statement "{\n    *(int *)(param_1 + 0x18) = *(int *)(param_1 + 0x18) + -1;\n    return;\n  }" ({ "{") (expression_statement "*(int *)(param_1 + 0x18) = *(int *)(param_1 + 0x18) + -1;" (assignment_expression "*(int *)(param_1 + 0x18) = *(int *)(param_1 + 0x18) + -1" (pointer_expression "*(int *)(param_1 + 0x18)" (* "*") (cast_expression "(int *)(param_1 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x18)" (( "(") (binary_expression "param_1 + 0x18" (identifier "param_1") (+ "+") (number_literal "0x18")) () ")")))) (= "=") (binary_expression "*(int *)(param_1 + 0x18) + -1" (pointer_expression "*(int *)(param_1 + 0x18)" (* "*") (cast_expression "(int *)(param_1 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x18)" (( "(") (binary_expression "param_1 + 0x18" (identifier "param_1") (+ "+") (number_literal "0x18")) () ")")))) (+ "+") (number_literal "-1"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "FUN_00199900("../../gold/fileread.cc",0xa4,"unlock");" (call_expression "FUN_00199900("../../gold/fileread.cc",0xa4,"unlock")" (identifier "FUN_00199900") (argument_list "("../../gold/fileread.cc",0xa4,"unlock")" (( "(") (string_literal ""../../gold/fileread.cc"" (" """) (string_content "../../gold/fileread.cc") (" """)) (, ",") (number_literal "0xa4") (, ",") (string_literal ""unlock"" (" """) (string_content "unlock") (" """)) () ")"))) (; ";")) (} "}")))

/* 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("../../gold/fileread.cc",0xa4,"unlock");
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (sized_type_specifier) 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))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (number_literal) (string_literal (string_content))))))))

void MASKED(long param_1)

{
  if (0 < *(int *)(param_1 + 0x18)) {
    *(int *)(param_1 + 0x18) = *(int *)(param_1 + 0x18) + -1;
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_00199900("../../gold/fileread.cc",0xa4,"unlock");
}

