
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: void ~File_view(File_view * this, int __in_chrg) */

void __thiscall gold::File_view::~File_view(File_view *this,int __in_chrg)

{
}



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

void FUN_0023de50(undefined4 *param_1)

{
  int iVar1;
  char cVar2;
  undefined4 extraout_EDX;
  
  cVar2 = FUN_0023cd90(*param_1);
  if (cVar2 == '\0') {
                    /* WARNING: Subroutine does not return */
    FUN_002446e0("../../gold/fileread.cc",0x361,"~File_view",extraout_EDX);
  }
  iVar1 = *(int *)(param_1[1] + 0x10);
  if (0 < iVar1) {
    *(int *)(param_1[1] + 0x10) = iVar1 + -1;
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_002446e0("../../gold/fileread.cc",0xa4,"unlock",iVar1);
}


PUSH ESI
PUSH EBX
CALL 0x00050b50
ADD EBX,0x3ac1a9
SUB ESP,0x10
MOV ESI,dword ptr [ESP + 0x1c]
PUSH dword ptr [ESI]
CALL 0x0023cd90
ADD ESP,0x10
TEST AL,AL
JZ 0x0023de88
MOV EDX,dword ptr [ESI + 0x4]
MOV EAX,dword ptr [EDX + 0x10]
TEST EAX,EAX
JLE 0x0023dea1
SUB EAX,0x1
MOV dword ptr [EDX + 0x10],EAX
ADD ESP,0x4
POP EBX
POP ESI
RET
LEA EAX,[EBX + 0xffe9cb54]
PUSH EDX
PUSH EAX
LEA EAX,[EBX + 0xffe9c8e4]
PUSH 0x361
PUSH EAX
CALL 0x002446e0
PUSH EAX
LEA EAX,[EBX + 0xffe9cc50]
PUSH EAX
LEA EAX,[EBX + 0xffe9c8e4]
PUSH 0xa4
PUSH EAX
CALL 0x002446e0
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_0023de50(undefined4 *param_1)\n\n{\n  int iVar1;\n  char cVar2;\n  undefined4 extraout_EDX;\n  \n  cVar2 = FUN_0023cd90(*param_1);\n  if (cVar2 == '\0') {\n                    /* WARNING: Subroutine does not return */\n    FUN_002446e0("../../gold/fileread.cc",0x361,"~File_view",extraout_EDX);\n  }\n  iVar1 = *(int *)(param_1[1] + 0x10);\n  if (0 < iVar1) {\n    *(int *)(param_1[1] + 0x10) = iVar1 + -1;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_002446e0("../../gold/fileread.cc",0xa4,"unlock",iVar1);\n}\n\n" comment (function_definition "void FUN_0023de50(undefined4 *param_1)\n\n{\n  int iVar1;\n  char cVar2;\n  undefined4 extraout_EDX;\n  \n  cVar2 = FUN_0023cd90(*param_1);\n  if (cVar2 == '\0') {\n                    /* WARNING: Subroutine does not return */\n    FUN_002446e0("../../gold/fileread.cc",0x361,"~File_view",extraout_EDX);\n  }\n  iVar1 = *(int *)(param_1[1] + 0x10);\n  if (0 < iVar1) {\n    *(int *)(param_1[1] + 0x10) = iVar1 + -1;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_002446e0("../../gold/fileread.cc",0xa4,"unlock",iVar1);\n}" primitive_type (function_declarator "FUN_0023de50(undefined4 *param_1)" identifier (parameter_list "(undefined4 *param_1)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  char cVar2;\n  undefined4 extraout_EDX;\n  \n  cVar2 = FUN_0023cd90(*param_1);\n  if (cVar2 == '\0') {\n                    /* WARNING: Subroutine does not return */\n    FUN_002446e0("../../gold/fileread.cc",0x361,"~File_view",extraout_EDX);\n  }\n  iVar1 = *(int *)(param_1[1] + 0x10);\n  if (0 < iVar1) {\n    *(int *)(param_1[1] + 0x10) = iVar1 + -1;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_002446e0("../../gold/fileread.cc",0xa4,"unlock",iVar1);\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "char cVar2;" primitive_type identifier ;) (declaration "undefined4 extraout_EDX;" type_identifier identifier ;) (expression_statement "cVar2 = FUN_0023cd90(*param_1);" (assignment_expression "cVar2 = FUN_0023cd90(*param_1)" identifier = (call_expression "FUN_0023cd90(*param_1)" identifier (argument_list "(*param_1)" ( (pointer_expression "*param_1" * identifier) )))) ;) (if_statement "if (cVar2 == '\0') {\n                    /* WARNING: Subroutine does not return */\n    FUN_002446e0("../../gold/fileread.cc",0x361,"~File_view",extraout_EDX);\n  }" if (parenthesized_expression "(cVar2 == '\0')" ( (binary_expression "cVar2 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    FUN_002446e0("../../gold/fileread.cc",0x361,"~File_view",extraout_EDX);\n  }" { comment (expression_statement "FUN_002446e0("../../gold/fileread.cc",0x361,"~File_view",extraout_EDX);" (call_expression "FUN_002446e0("../../gold/fileread.cc",0x361,"~File_view",extraout_EDX)" identifier (argument_list "("../../gold/fileread.cc",0x361,"~File_view",extraout_EDX)" ( (string_literal ""../../gold/fileread.cc"" " string_content ") , number_literal , (string_literal ""~File_view"" " string_content ") , identifier ))) ;) })) (expression_statement "iVar1 = *(int *)(param_1[1] + 0x10);" (assignment_expression "iVar1 = *(int *)(param_1[1] + 0x10)" identifier = (pointer_expression "*(int *)(param_1[1] + 0x10)" * (cast_expression "(int *)(param_1[1] + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1[1] + 0x10)" ( (binary_expression "param_1[1] + 0x10" (subscript_expression "param_1[1]" identifier [ number_literal ]) + number_literal) ))))) ;) (if_statement "if (0 < iVar1) {\n    *(int *)(param_1[1] + 0x10) = iVar1 + -1;\n    return;\n  }" if (parenthesized_expression "(0 < iVar1)" ( (binary_expression "0 < iVar1" number_literal < identifier) )) (compound_statement "{\n    *(int *)(param_1[1] + 0x10) = iVar1 + -1;\n    return;\n  }" { (expression_statement "*(int *)(param_1[1] + 0x10) = iVar1 + -1;" (assignment_expression "*(int *)(param_1[1] + 0x10) = iVar1 + -1" (pointer_expression "*(int *)(param_1[1] + 0x10)" * (cast_expression "(int *)(param_1[1] + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1[1] + 0x10)" ( (binary_expression "param_1[1] + 0x10" (subscript_expression "param_1[1]" identifier [ number_literal ]) + number_literal) )))) = (binary_expression "iVar1 + -1" identifier + number_literal)) ;) (return_statement "return;" return ;) })) comment (expression_statement "FUN_002446e0("../../gold/fileread.cc",0xa4,"unlock",iVar1);" (call_expression "FUN_002446e0("../../gold/fileread.cc",0xa4,"unlock",iVar1)" identifier (argument_list "("../../gold/fileread.cc",0xa4,"unlock",iVar1)" ( (string_literal ""../../gold/fileread.cc"" " string_content ") , number_literal , (string_literal ""unlock"" " string_content ") , identifier ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* DWARF original prototype: void ~File_view(File_view * this, int __in_chrg) */\n\nvoid __thiscall gold::File_view::~File_view(File_view *this,int __in_chrg)\n\n{\n}\n\n" comment comment (function_definition "void __thiscall gold::File_view::~File_view(File_view *this,int __in_chrg)\n\n{\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::File_view::~" identifier : : identifier : : ~) (function_declarator "File_view(File_view *this,int __in_chrg)" identifier (parameter_list "(File_view *this,int __in_chrg)" ( (parameter_declaration "File_view *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "int __in_chrg" primitive_type identifier) ))) (compound_statement "{\n}" { })))
(translation_unit "void FUN_0023de50(undefined4 *param_1)\n\n{\n  int iVar1;\n  char cVar2;\n  undefined4 extraout_EDX;\n  \n  cVar2 = FUN_0023cd90(*param_1);\n  if (cVar2 == '\0') {\n                    \n    FUN_002446e0("../../gold/fileread.cc",0x361,"~File_view",extraout_EDX);\n  }\n  iVar1 = *(int *)(param_1[1] + 0x10);\n  if (0 < iVar1) {\n    *(int *)(param_1[1] + 0x10) = iVar1 + -1;\n    return;\n  }\n                    \n  FUN_002446e0("../../gold/fileread.cc",0xa4,"unlock",iVar1);\n}\n\n" (function_definition "void FUN_0023de50(undefined4 *param_1)\n\n{\n  int iVar1;\n  char cVar2;\n  undefined4 extraout_EDX;\n  \n  cVar2 = FUN_0023cd90(*param_1);\n  if (cVar2 == '\0') {\n                    \n    FUN_002446e0("../../gold/fileread.cc",0x361,"~File_view",extraout_EDX);\n  }\n  iVar1 = *(int *)(param_1[1] + 0x10);\n  if (0 < iVar1) {\n    *(int *)(param_1[1] + 0x10) = iVar1 + -1;\n    return;\n  }\n                    \n  FUN_002446e0("../../gold/fileread.cc",0xa4,"unlock",iVar1);\n}" primitive_type (function_declarator "FUN_0023de50(undefined4 *param_1)" identifier (parameter_list "(undefined4 *param_1)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  char cVar2;\n  undefined4 extraout_EDX;\n  \n  cVar2 = FUN_0023cd90(*param_1);\n  if (cVar2 == '\0') {\n                    \n    FUN_002446e0("../../gold/fileread.cc",0x361,"~File_view",extraout_EDX);\n  }\n  iVar1 = *(int *)(param_1[1] + 0x10);\n  if (0 < iVar1) {\n    *(int *)(param_1[1] + 0x10) = iVar1 + -1;\n    return;\n  }\n                    \n  FUN_002446e0("../../gold/fileread.cc",0xa4,"unlock",iVar1);\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "char cVar2;" primitive_type identifier ;) (declaration "undefined4 extraout_EDX;" type_identifier identifier ;) (expression_statement "cVar2 = FUN_0023cd90(*param_1);" (assignment_expression "cVar2 = FUN_0023cd90(*param_1)" identifier = (call_expression "FUN_0023cd90(*param_1)" identifier (argument_list "(*param_1)" ( (pointer_expression "*param_1" * identifier) )))) ;) (if_statement "if (cVar2 == '\0') {\n                    \n    FUN_002446e0("../../gold/fileread.cc",0x361,"~File_view",extraout_EDX);\n  }" if (parenthesized_expression "(cVar2 == '\0')" ( (binary_expression "cVar2 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n                    \n    FUN_002446e0("../../gold/fileread.cc",0x361,"~File_view",extraout_EDX);\n  }" { (expression_statement "FUN_002446e0("../../gold/fileread.cc",0x361,"~File_view",extraout_EDX);" (call_expression "FUN_002446e0("../../gold/fileread.cc",0x361,"~File_view",extraout_EDX)" identifier (argument_list "("../../gold/fileread.cc",0x361,"~File_view",extraout_EDX)" ( (string_literal ""../../gold/fileread.cc"" " string_content ") , number_literal , (string_literal ""~File_view"" " string_content ") , identifier ))) ;) })) (expression_statement "iVar1 = *(int *)(param_1[1] + 0x10);" (assignment_expression "iVar1 = *(int *)(param_1[1] + 0x10)" identifier = (pointer_expression "*(int *)(param_1[1] + 0x10)" * (cast_expression "(int *)(param_1[1] + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1[1] + 0x10)" ( (binary_expression "param_1[1] + 0x10" (subscript_expression "param_1[1]" identifier [ number_literal ]) + number_literal) ))))) ;) (if_statement "if (0 < iVar1) {\n    *(int *)(param_1[1] + 0x10) = iVar1 + -1;\n    return;\n  }" if (parenthesized_expression "(0 < iVar1)" ( (binary_expression "0 < iVar1" number_literal < identifier) )) (compound_statement "{\n    *(int *)(param_1[1] + 0x10) = iVar1 + -1;\n    return;\n  }" { (expression_statement "*(int *)(param_1[1] + 0x10) = iVar1 + -1;" (assignment_expression "*(int *)(param_1[1] + 0x10) = iVar1 + -1" (pointer_expression "*(int *)(param_1[1] + 0x10)" * (cast_expression "(int *)(param_1[1] + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1[1] + 0x10)" ( (binary_expression "param_1[1] + 0x10" (subscript_expression "param_1[1]" identifier [ number_literal ]) + number_literal) )))) = (binary_expression "iVar1 + -1" identifier + number_literal)) ;) (return_statement "return;" return ;) })) (expression_statement "FUN_002446e0("../../gold/fileread.cc",0xa4,"unlock",iVar1);" (call_expression "FUN_002446e0("../../gold/fileread.cc",0xa4,"unlock",iVar1)" identifier (argument_list "("../../gold/fileread.cc",0xa4,"unlock",iVar1)" ( (string_literal ""../../gold/fileread.cc"" " string_content ") , number_literal , (string_literal ""unlock"" " string_content ") , identifier ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * IDENT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , IDENT ))) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) + LIT) )))) = (binary_expression IDENT + LIT)) ;) (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , IDENT ))) ;) })))
(function_definition "void FUN_0023de50(undefined4 *param_1)\n\n{\n  int iVar1;\n  char cVar2;\n  undefined4 extraout_EDX;\n  \n  cVar2 = FUN_0023cd90(*param_1);\n  if (cVar2 == '\0') {\n                    \n    FUN_002446e0("../../gold/fileread.cc",0x361,"~File_view",extraout_EDX);\n  }\n  iVar1 = *(int *)(param_1[1] + 0x10);\n  if (0 < iVar1) {\n    *(int *)(param_1[1] + 0x10) = iVar1 + -1;\n    return;\n  }\n                    \n  FUN_002446e0("../../gold/fileread.cc",0xa4,"unlock",iVar1);\n}" (primitive_type "void") (function_declarator "FUN_0023de50(undefined4 *param_1)" (identifier "FUN_0023de50") (parameter_list "(undefined4 *param_1)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  int iVar1;\n  char cVar2;\n  undefined4 extraout_EDX;\n  \n  cVar2 = FUN_0023cd90(*param_1);\n  if (cVar2 == '\0') {\n                    \n    FUN_002446e0("../../gold/fileread.cc",0x361,"~File_view",extraout_EDX);\n  }\n  iVar1 = *(int *)(param_1[1] + 0x10);\n  if (0 < iVar1) {\n    *(int *)(param_1[1] + 0x10) = iVar1 + -1;\n    return;\n  }\n                    \n  FUN_002446e0("../../gold/fileread.cc",0xa4,"unlock",iVar1);\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "char cVar2;" (primitive_type "char") (identifier "cVar2") (; ";")) (declaration "undefined4 extraout_EDX;" (type_identifier "undefined4") (identifier "extraout_EDX") (; ";")) (expression_statement "cVar2 = FUN_0023cd90(*param_1);" (assignment_expression "cVar2 = FUN_0023cd90(*param_1)" (identifier "cVar2") (= "=") (call_expression "FUN_0023cd90(*param_1)" (identifier "FUN_0023cd90") (argument_list "(*param_1)" (( "(") (pointer_expression "*param_1" (* "*") (identifier "param_1")) () ")")))) (; ";")) (if_statement "if (cVar2 == '\0') {\n                    \n    FUN_002446e0("../../gold/fileread.cc",0x361,"~File_view",extraout_EDX);\n  }" (if "if") (parenthesized_expression "(cVar2 == '\0')" (( "(") (binary_expression "cVar2 == '\0'" (identifier "cVar2") (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n                    \n    FUN_002446e0("../../gold/fileread.cc",0x361,"~File_view",extraout_EDX);\n  }" ({ "{") (expression_statement "FUN_002446e0("../../gold/fileread.cc",0x361,"~File_view",extraout_EDX);" (call_expression "FUN_002446e0("../../gold/fileread.cc",0x361,"~File_view",extraout_EDX)" (identifier "FUN_002446e0") (argument_list "("../../gold/fileread.cc",0x361,"~File_view",extraout_EDX)" (( "(") (string_literal ""../../gold/fileread.cc"" (" """) (string_content "../../gold/fileread.cc") (" """)) (, ",") (number_literal "0x361") (, ",") (string_literal ""~File_view"" (" """) (string_content "~File_view") (" """)) (, ",") (identifier "extraout_EDX") () ")"))) (; ";")) (} "}"))) (expression_statement "iVar1 = *(int *)(param_1[1] + 0x10);" (assignment_expression "iVar1 = *(int *)(param_1[1] + 0x10)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(param_1[1] + 0x10)" (* "*") (cast_expression "(int *)(param_1[1] + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1[1] + 0x10)" (( "(") (binary_expression "param_1[1] + 0x10" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (if_statement "if (0 < iVar1) {\n    *(int *)(param_1[1] + 0x10) = iVar1 + -1;\n    return;\n  }" (if "if") (parenthesized_expression "(0 < iVar1)" (( "(") (binary_expression "0 < iVar1" (number_literal "0") (< "<") (identifier "iVar1")) () ")")) (compound_statement "{\n    *(int *)(param_1[1] + 0x10) = iVar1 + -1;\n    return;\n  }" ({ "{") (expression_statement "*(int *)(param_1[1] + 0x10) = iVar1 + -1;" (assignment_expression "*(int *)(param_1[1] + 0x10) = iVar1 + -1" (pointer_expression "*(int *)(param_1[1] + 0x10)" (* "*") (cast_expression "(int *)(param_1[1] + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1[1] + 0x10)" (( "(") (binary_expression "param_1[1] + 0x10" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (+ "+") (number_literal "0x10")) () ")")))) (= "=") (binary_expression "iVar1 + -1" (identifier "iVar1") (+ "+") (number_literal "-1"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "FUN_002446e0("../../gold/fileread.cc",0xa4,"unlock",iVar1);" (call_expression "FUN_002446e0("../../gold/fileread.cc",0xa4,"unlock",iVar1)" (identifier "FUN_002446e0") (argument_list "("../../gold/fileread.cc",0xa4,"unlock",iVar1)" (( "(") (string_literal ""../../gold/fileread.cc"" (" """) (string_content "../../gold/fileread.cc") (" """)) (, ",") (number_literal "0xa4") (, ",") (string_literal ""unlock"" (" """) (string_content "unlock") (" """)) (, ",") (identifier "iVar1") () ")"))) (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: void ~File_view(File_view * this, int __in_chrg) */

void __thiscall gold::function_1::~function_1(function_1 *this,int __in_chrg)

{
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (escape_sequence)))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (number_literal) (string_literal (string_content)) (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) 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: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))))) right: (binary_expression left: (identifier) right: (number_literal)))) (return_statement))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (number_literal) (string_literal (string_content)) (identifier)))))))

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

void MASKED(undefined4 *param_1)

{
  int iVar1;
  char cVar2;
  undefined4 extraout_EDX;
  
  cVar2 = FUN_0023cd90(*param_1);
  if (cVar2 == '\0') {
                    /* WARNING: Subroutine does not return */
    FUN_002446e0("../../gold/fileread.cc",0x361,"~File_view",extraout_EDX);
  }
  iVar1 = *(int *)(param_1[1] + 0x10);
  if (0 < iVar1) {
    *(int *)(param_1[1] + 0x10) = iVar1 + -1;
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_002446e0("../../gold/fileread.cc",0xa4,"unlock",iVar1);
}

