
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention -- yet parameter storage is locked */

void check_statusblank(void)

{
  int iVar1;
  
  if ((statusblank != 0) &&
     ((statusblank = statusblank + -1, currmenu != 1 || (((byte)flags[0] & 4) == 0)))) {
    if (statusblank == 0) {
      wipe_statusbar();
      iVar1 = *(int *)PTR_LINES_0006afbc;
    }
    else {
      iVar1 = *(int *)PTR_LINES_0006afbc;
    }
    if (iVar1 == 1) {
      edit_refresh();
      return;
    }
  }
  return;
}



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

void FUN_0003bc60(void)

{
  int iVar1;
  
  if ((DAT_0006b8c4 != 0) &&
     ((DAT_0006b8c4 = DAT_0006b8c4 + -1, DAT_0006b064 != 1 || (((byte)DAT_0006b664 & 4) == 0)))) {
    if (DAT_0006b8c4 == 0) {
      FUN_00037290();
      iVar1 = *(int *)PTR_LINES_0006afbc;
    }
    else {
      iVar1 = *(int *)PTR_LINES_0006afbc;
    }
    if (iVar1 == 1) {
      FUN_0003bb10();
      return;
    }
  }
  return;
}


PUSH EBX
CALL 0x00014e20
ADD EBX,0x2ef6a
SUB ESP,0x8
MOV EAX,dword ptr [EBX + 0xcf4]
TEST EAX,EAX
JZ 0x0003bc9c
LEA EDX,[EBX + 0x494]
SUB EAX,0x1
MOV dword ptr [EBX + 0xcf4],EAX
CMP dword ptr [EDX],0x1
JZ 0x0003bca8
TEST EAX,EAX
JZ 0x0003bcb7
MOV EAX,dword ptr [EBX + 0x3ec]
CMP dword ptr [EAX],0x1
JZ 0x0003bcc7
ADD ESP,0x8
POP EBX
RET
LEA EDX,[EBX + 0xa94]
TEST byte ptr [EDX],0x4
JNZ 0x0003bc9c
TEST EAX,EAX
JNZ 0x0003bc91
CALL 0x00037290
MOV EAX,dword ptr [EBX + 0x3ec]
CMP dword ptr [EAX],0x1
JNZ 0x0003bc9c
ADD ESP,0x8
POP EBX
JMP 0x0003bb10
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_0003bc60(void)\n\n{\n  int iVar1;\n  \n  if ((DAT_0006b8c4 != 0) &&\n     ((DAT_0006b8c4 = DAT_0006b8c4 + -1, DAT_0006b064 != 1 || (((byte)DAT_0006b664 & 4) == 0)))) {\n    if (DAT_0006b8c4 == 0) {\n      FUN_00037290();\n      iVar1 = *(int *)PTR_LINES_0006afbc;\n    }\n    else {\n      iVar1 = *(int *)PTR_LINES_0006afbc;\n    }\n    if (iVar1 == 1) {\n      FUN_0003bb10();\n      return;\n    }\n  }\n  return;\n}\n\n" comment (function_definition "void FUN_0003bc60(void)\n\n{\n  int iVar1;\n  \n  if ((DAT_0006b8c4 != 0) &&\n     ((DAT_0006b8c4 = DAT_0006b8c4 + -1, DAT_0006b064 != 1 || (((byte)DAT_0006b664 & 4) == 0)))) {\n    if (DAT_0006b8c4 == 0) {\n      FUN_00037290();\n      iVar1 = *(int *)PTR_LINES_0006afbc;\n    }\n    else {\n      iVar1 = *(int *)PTR_LINES_0006afbc;\n    }\n    if (iVar1 == 1) {\n      FUN_0003bb10();\n      return;\n    }\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0003bc60(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  int iVar1;\n  \n  if ((DAT_0006b8c4 != 0) &&\n     ((DAT_0006b8c4 = DAT_0006b8c4 + -1, DAT_0006b064 != 1 || (((byte)DAT_0006b664 & 4) == 0)))) {\n    if (DAT_0006b8c4 == 0) {\n      FUN_00037290();\n      iVar1 = *(int *)PTR_LINES_0006afbc;\n    }\n    else {\n      iVar1 = *(int *)PTR_LINES_0006afbc;\n    }\n    if (iVar1 == 1) {\n      FUN_0003bb10();\n      return;\n    }\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (if_statement "if ((DAT_0006b8c4 != 0) &&\n     ((DAT_0006b8c4 = DAT_0006b8c4 + -1, DAT_0006b064 != 1 || (((byte)DAT_0006b664 & 4) == 0)))) {\n    if (DAT_0006b8c4 == 0) {\n      FUN_00037290();\n      iVar1 = *(int *)PTR_LINES_0006afbc;\n    }\n    else {\n      iVar1 = *(int *)PTR_LINES_0006afbc;\n    }\n    if (iVar1 == 1) {\n      FUN_0003bb10();\n      return;\n    }\n  }" if (parenthesized_expression "((DAT_0006b8c4 != 0) &&\n     ((DAT_0006b8c4 = DAT_0006b8c4 + -1, DAT_0006b064 != 1 || (((byte)DAT_0006b664 & 4) == 0))))" ( (binary_expression "(DAT_0006b8c4 != 0) &&\n     ((DAT_0006b8c4 = DAT_0006b8c4 + -1, DAT_0006b064 != 1 || (((byte)DAT_0006b664 & 4) == 0)))" (parenthesized_expression "(DAT_0006b8c4 != 0)" ( (binary_expression "DAT_0006b8c4 != 0" identifier != number_literal) )) && (parenthesized_expression "((DAT_0006b8c4 = DAT_0006b8c4 + -1, DAT_0006b064 != 1 || (((byte)DAT_0006b664 & 4) == 0)))" ( (parenthesized_expression "(DAT_0006b8c4 = DAT_0006b8c4 + -1, DAT_0006b064 != 1 || (((byte)DAT_0006b664 & 4) == 0))" ( (comma_expression "DAT_0006b8c4 = DAT_0006b8c4 + -1, DAT_0006b064 != 1 || (((byte)DAT_0006b664 & 4) == 0)" (assignment_expression "DAT_0006b8c4 = DAT_0006b8c4 + -1" identifier = (binary_expression "DAT_0006b8c4 + -1" identifier + number_literal)) , (binary_expression "DAT_0006b064 != 1 || (((byte)DAT_0006b664 & 4) == 0)" (binary_expression "DAT_0006b064 != 1" identifier != number_literal) || (parenthesized_expression "(((byte)DAT_0006b664 & 4) == 0)" ( (binary_expression "((byte)DAT_0006b664 & 4) == 0" (parenthesized_expression "((byte)DAT_0006b664 & 4)" ( (binary_expression "(byte)DAT_0006b664 & 4" (cast_expression "(byte)DAT_0006b664" ( (type_descriptor "byte" type_identifier) ) identifier) & number_literal) )) == number_literal) )))) )) ))) )) (compound_statement "{\n    if (DAT_0006b8c4 == 0) {\n      FUN_00037290();\n      iVar1 = *(int *)PTR_LINES_0006afbc;\n    }\n    else {\n      iVar1 = *(int *)PTR_LINES_0006afbc;\n    }\n    if (iVar1 == 1) {\n      FUN_0003bb10();\n      return;\n    }\n  }" { (if_statement "if (DAT_0006b8c4 == 0) {\n      FUN_00037290();\n      iVar1 = *(int *)PTR_LINES_0006afbc;\n    }\n    else {\n      iVar1 = *(int *)PTR_LINES_0006afbc;\n    }" if (parenthesized_expression "(DAT_0006b8c4 == 0)" ( (binary_expression "DAT_0006b8c4 == 0" identifier == number_literal) )) (compound_statement "{\n      FUN_00037290();\n      iVar1 = *(int *)PTR_LINES_0006afbc;\n    }" { (expression_statement "FUN_00037290();" (call_expression "FUN_00037290()" identifier (argument_list "()" ( ))) ;) (expression_statement "iVar1 = *(int *)PTR_LINES_0006afbc;" (assignment_expression "iVar1 = *(int *)PTR_LINES_0006afbc" identifier = (pointer_expression "*(int *)PTR_LINES_0006afbc" * (cast_expression "(int *)PTR_LINES_0006afbc" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) }) (else_clause "else {\n      iVar1 = *(int *)PTR_LINES_0006afbc;\n    }" else (compound_statement "{\n      iVar1 = *(int *)PTR_LINES_0006afbc;\n    }" { (expression_statement "iVar1 = *(int *)PTR_LINES_0006afbc;" (assignment_expression "iVar1 = *(int *)PTR_LINES_0006afbc" identifier = (pointer_expression "*(int *)PTR_LINES_0006afbc" * (cast_expression "(int *)PTR_LINES_0006afbc" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) }))) (if_statement "if (iVar1 == 1) {\n      FUN_0003bb10();\n      return;\n    }" if (parenthesized_expression "(iVar1 == 1)" ( (binary_expression "iVar1 == 1" identifier == number_literal) )) (compound_statement "{\n      FUN_0003bb10();\n      return;\n    }" { (expression_statement "FUN_0003bb10();" (call_expression "FUN_0003bb10()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n\nvoid check_statusblank(void)\n\n{\n  int iVar1;\n  \n  if ((statusblank != 0) &&\n     ((statusblank = statusblank + -1, currmenu != 1 || (((byte)flags[0] & 4) == 0)))) {\n    if (statusblank == 0) {\n      wipe_statusbar();\n      iVar1 = *(int *)PTR_LINES_0006afbc;\n    }\n    else {\n      iVar1 = *(int *)PTR_LINES_0006afbc;\n    }\n    if (iVar1 == 1) {\n      edit_refresh();\n      return;\n    }\n  }\n  return;\n}\n\n" comment comment (function_definition "void check_statusblank(void)\n\n{\n  int iVar1;\n  \n  if ((statusblank != 0) &&\n     ((statusblank = statusblank + -1, currmenu != 1 || (((byte)flags[0] & 4) == 0)))) {\n    if (statusblank == 0) {\n      wipe_statusbar();\n      iVar1 = *(int *)PTR_LINES_0006afbc;\n    }\n    else {\n      iVar1 = *(int *)PTR_LINES_0006afbc;\n    }\n    if (iVar1 == 1) {\n      edit_refresh();\n      return;\n    }\n  }\n  return;\n}" primitive_type (function_declarator "check_statusblank(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  int iVar1;\n  \n  if ((statusblank != 0) &&\n     ((statusblank = statusblank + -1, currmenu != 1 || (((byte)flags[0] & 4) == 0)))) {\n    if (statusblank == 0) {\n      wipe_statusbar();\n      iVar1 = *(int *)PTR_LINES_0006afbc;\n    }\n    else {\n      iVar1 = *(int *)PTR_LINES_0006afbc;\n    }\n    if (iVar1 == 1) {\n      edit_refresh();\n      return;\n    }\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (if_statement "if ((statusblank != 0) &&\n     ((statusblank = statusblank + -1, currmenu != 1 || (((byte)flags[0] & 4) == 0)))) {\n    if (statusblank == 0) {\n      wipe_statusbar();\n      iVar1 = *(int *)PTR_LINES_0006afbc;\n    }\n    else {\n      iVar1 = *(int *)PTR_LINES_0006afbc;\n    }\n    if (iVar1 == 1) {\n      edit_refresh();\n      return;\n    }\n  }" if (parenthesized_expression "((statusblank != 0) &&\n     ((statusblank = statusblank + -1, currmenu != 1 || (((byte)flags[0] & 4) == 0))))" ( (binary_expression "(statusblank != 0) &&\n     ((statusblank = statusblank + -1, currmenu != 1 || (((byte)flags[0] & 4) == 0)))" (parenthesized_expression "(statusblank != 0)" ( (binary_expression "statusblank != 0" identifier != number_literal) )) && (parenthesized_expression "((statusblank = statusblank + -1, currmenu != 1 || (((byte)flags[0] & 4) == 0)))" ( (parenthesized_expression "(statusblank = statusblank + -1, currmenu != 1 || (((byte)flags[0] & 4) == 0))" ( (comma_expression "statusblank = statusblank + -1, currmenu != 1 || (((byte)flags[0] & 4) == 0)" (assignment_expression "statusblank = statusblank + -1" identifier = (binary_expression "statusblank + -1" identifier + number_literal)) , (binary_expression "currmenu != 1 || (((byte)flags[0] & 4) == 0)" (binary_expression "currmenu != 1" identifier != number_literal) || (parenthesized_expression "(((byte)flags[0] & 4) == 0)" ( (binary_expression "((byte)flags[0] & 4) == 0" (parenthesized_expression "((byte)flags[0] & 4)" ( (binary_expression "(byte)flags[0] & 4" (cast_expression "(byte)flags[0]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "flags[0]" identifier [ number_literal ])) & number_literal) )) == number_literal) )))) )) ))) )) (compound_statement "{\n    if (statusblank == 0) {\n      wipe_statusbar();\n      iVar1 = *(int *)PTR_LINES_0006afbc;\n    }\n    else {\n      iVar1 = *(int *)PTR_LINES_0006afbc;\n    }\n    if (iVar1 == 1) {\n      edit_refresh();\n      return;\n    }\n  }" { (if_statement "if (statusblank == 0) {\n      wipe_statusbar();\n      iVar1 = *(int *)PTR_LINES_0006afbc;\n    }\n    else {\n      iVar1 = *(int *)PTR_LINES_0006afbc;\n    }" if (parenthesized_expression "(statusblank == 0)" ( (binary_expression "statusblank == 0" identifier == number_literal) )) (compound_statement "{\n      wipe_statusbar();\n      iVar1 = *(int *)PTR_LINES_0006afbc;\n    }" { (expression_statement "wipe_statusbar();" (call_expression "wipe_statusbar()" identifier (argument_list "()" ( ))) ;) (expression_statement "iVar1 = *(int *)PTR_LINES_0006afbc;" (assignment_expression "iVar1 = *(int *)PTR_LINES_0006afbc" identifier = (pointer_expression "*(int *)PTR_LINES_0006afbc" * (cast_expression "(int *)PTR_LINES_0006afbc" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) }) (else_clause "else {\n      iVar1 = *(int *)PTR_LINES_0006afbc;\n    }" else (compound_statement "{\n      iVar1 = *(int *)PTR_LINES_0006afbc;\n    }" { (expression_statement "iVar1 = *(int *)PTR_LINES_0006afbc;" (assignment_expression "iVar1 = *(int *)PTR_LINES_0006afbc" identifier = (pointer_expression "*(int *)PTR_LINES_0006afbc" * (cast_expression "(int *)PTR_LINES_0006afbc" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) }))) (if_statement "if (iVar1 == 1) {\n      edit_refresh();\n      return;\n    }" if (parenthesized_expression "(iVar1 == 1)" ( (binary_expression "iVar1 == 1" identifier == number_literal) )) (compound_statement "{\n      edit_refresh();\n      return;\n    }" { (expression_statement "edit_refresh();" (call_expression "edit_refresh()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0003bc60(void)\n\n{\n  int iVar1;\n  \n  if ((DAT_0006b8c4 != 0) &&\n     ((DAT_0006b8c4 = DAT_0006b8c4 + -1, DAT_0006b064 != 1 || (((byte)DAT_0006b664 & 4) == 0)))) {\n    if (DAT_0006b8c4 == 0) {\n      FUN_00037290();\n      iVar1 = *(int *)PTR_LINES_0006afbc;\n    }\n    else {\n      iVar1 = *(int *)PTR_LINES_0006afbc;\n    }\n    if (iVar1 == 1) {\n      FUN_0003bb10();\n      return;\n    }\n  }\n  return;\n}\n\n" (function_definition "void FUN_0003bc60(void)\n\n{\n  int iVar1;\n  \n  if ((DAT_0006b8c4 != 0) &&\n     ((DAT_0006b8c4 = DAT_0006b8c4 + -1, DAT_0006b064 != 1 || (((byte)DAT_0006b664 & 4) == 0)))) {\n    if (DAT_0006b8c4 == 0) {\n      FUN_00037290();\n      iVar1 = *(int *)PTR_LINES_0006afbc;\n    }\n    else {\n      iVar1 = *(int *)PTR_LINES_0006afbc;\n    }\n    if (iVar1 == 1) {\n      FUN_0003bb10();\n      return;\n    }\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0003bc60(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  int iVar1;\n  \n  if ((DAT_0006b8c4 != 0) &&\n     ((DAT_0006b8c4 = DAT_0006b8c4 + -1, DAT_0006b064 != 1 || (((byte)DAT_0006b664 & 4) == 0)))) {\n    if (DAT_0006b8c4 == 0) {\n      FUN_00037290();\n      iVar1 = *(int *)PTR_LINES_0006afbc;\n    }\n    else {\n      iVar1 = *(int *)PTR_LINES_0006afbc;\n    }\n    if (iVar1 == 1) {\n      FUN_0003bb10();\n      return;\n    }\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (if_statement "if ((DAT_0006b8c4 != 0) &&\n     ((DAT_0006b8c4 = DAT_0006b8c4 + -1, DAT_0006b064 != 1 || (((byte)DAT_0006b664 & 4) == 0)))) {\n    if (DAT_0006b8c4 == 0) {\n      FUN_00037290();\n      iVar1 = *(int *)PTR_LINES_0006afbc;\n    }\n    else {\n      iVar1 = *(int *)PTR_LINES_0006afbc;\n    }\n    if (iVar1 == 1) {\n      FUN_0003bb10();\n      return;\n    }\n  }" if (parenthesized_expression "((DAT_0006b8c4 != 0) &&\n     ((DAT_0006b8c4 = DAT_0006b8c4 + -1, DAT_0006b064 != 1 || (((byte)DAT_0006b664 & 4) == 0))))" ( (binary_expression "(DAT_0006b8c4 != 0) &&\n     ((DAT_0006b8c4 = DAT_0006b8c4 + -1, DAT_0006b064 != 1 || (((byte)DAT_0006b664 & 4) == 0)))" (parenthesized_expression "(DAT_0006b8c4 != 0)" ( (binary_expression "DAT_0006b8c4 != 0" identifier != number_literal) )) && (parenthesized_expression "((DAT_0006b8c4 = DAT_0006b8c4 + -1, DAT_0006b064 != 1 || (((byte)DAT_0006b664 & 4) == 0)))" ( (parenthesized_expression "(DAT_0006b8c4 = DAT_0006b8c4 + -1, DAT_0006b064 != 1 || (((byte)DAT_0006b664 & 4) == 0))" ( (comma_expression "DAT_0006b8c4 = DAT_0006b8c4 + -1, DAT_0006b064 != 1 || (((byte)DAT_0006b664 & 4) == 0)" (assignment_expression "DAT_0006b8c4 = DAT_0006b8c4 + -1" identifier = (binary_expression "DAT_0006b8c4 + -1" identifier + number_literal)) , (binary_expression "DAT_0006b064 != 1 || (((byte)DAT_0006b664 & 4) == 0)" (binary_expression "DAT_0006b064 != 1" identifier != number_literal) || (parenthesized_expression "(((byte)DAT_0006b664 & 4) == 0)" ( (binary_expression "((byte)DAT_0006b664 & 4) == 0" (parenthesized_expression "((byte)DAT_0006b664 & 4)" ( (binary_expression "(byte)DAT_0006b664 & 4" (cast_expression "(byte)DAT_0006b664" ( (type_descriptor "byte" type_identifier) ) identifier) & number_literal) )) == number_literal) )))) )) ))) )) (compound_statement "{\n    if (DAT_0006b8c4 == 0) {\n      FUN_00037290();\n      iVar1 = *(int *)PTR_LINES_0006afbc;\n    }\n    else {\n      iVar1 = *(int *)PTR_LINES_0006afbc;\n    }\n    if (iVar1 == 1) {\n      FUN_0003bb10();\n      return;\n    }\n  }" { (if_statement "if (DAT_0006b8c4 == 0) {\n      FUN_00037290();\n      iVar1 = *(int *)PTR_LINES_0006afbc;\n    }\n    else {\n      iVar1 = *(int *)PTR_LINES_0006afbc;\n    }" if (parenthesized_expression "(DAT_0006b8c4 == 0)" ( (binary_expression "DAT_0006b8c4 == 0" identifier == number_literal) )) (compound_statement "{\n      FUN_00037290();\n      iVar1 = *(int *)PTR_LINES_0006afbc;\n    }" { (expression_statement "FUN_00037290();" (call_expression "FUN_00037290()" identifier (argument_list "()" ( ))) ;) (expression_statement "iVar1 = *(int *)PTR_LINES_0006afbc;" (assignment_expression "iVar1 = *(int *)PTR_LINES_0006afbc" identifier = (pointer_expression "*(int *)PTR_LINES_0006afbc" * (cast_expression "(int *)PTR_LINES_0006afbc" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) }) (else_clause "else {\n      iVar1 = *(int *)PTR_LINES_0006afbc;\n    }" else (compound_statement "{\n      iVar1 = *(int *)PTR_LINES_0006afbc;\n    }" { (expression_statement "iVar1 = *(int *)PTR_LINES_0006afbc;" (assignment_expression "iVar1 = *(int *)PTR_LINES_0006afbc" identifier = (pointer_expression "*(int *)PTR_LINES_0006afbc" * (cast_expression "(int *)PTR_LINES_0006afbc" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) }))) (if_statement "if (iVar1 == 1) {\n      FUN_0003bb10();\n      return;\n    }" if (parenthesized_expression "(iVar1 == 1)" ( (binary_expression "iVar1 == 1" identifier == number_literal) )) (compound_statement "{\n      FUN_0003bb10();\n      return;\n    }" { (expression_statement "FUN_0003bb10();" (call_expression "FUN_0003bb10()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) && (parenthesized_expression ( (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (binary_expression IDENT + LIT)) , (binary_expression (binary_expression IDENT != LIT) || (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) & LIT) )) == LIT) )))) )) ))) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) (return_statement return ;) })) })) (return_statement return ;) })))
(function_definition "void FUN_0003bc60(void)\n\n{\n  int iVar1;\n  \n  if ((DAT_0006b8c4 != 0) &&\n     ((DAT_0006b8c4 = DAT_0006b8c4 + -1, DAT_0006b064 != 1 || (((byte)DAT_0006b664 & 4) == 0)))) {\n    if (DAT_0006b8c4 == 0) {\n      FUN_00037290();\n      iVar1 = *(int *)PTR_LINES_0006afbc;\n    }\n    else {\n      iVar1 = *(int *)PTR_LINES_0006afbc;\n    }\n    if (iVar1 == 1) {\n      FUN_0003bb10();\n      return;\n    }\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0003bc60(void)" (identifier "FUN_0003bc60") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  int iVar1;\n  \n  if ((DAT_0006b8c4 != 0) &&\n     ((DAT_0006b8c4 = DAT_0006b8c4 + -1, DAT_0006b064 != 1 || (((byte)DAT_0006b664 & 4) == 0)))) {\n    if (DAT_0006b8c4 == 0) {\n      FUN_00037290();\n      iVar1 = *(int *)PTR_LINES_0006afbc;\n    }\n    else {\n      iVar1 = *(int *)PTR_LINES_0006afbc;\n    }\n    if (iVar1 == 1) {\n      FUN_0003bb10();\n      return;\n    }\n  }\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (if_statement "if ((DAT_0006b8c4 != 0) &&\n     ((DAT_0006b8c4 = DAT_0006b8c4 + -1, DAT_0006b064 != 1 || (((byte)DAT_0006b664 & 4) == 0)))) {\n    if (DAT_0006b8c4 == 0) {\n      FUN_00037290();\n      iVar1 = *(int *)PTR_LINES_0006afbc;\n    }\n    else {\n      iVar1 = *(int *)PTR_LINES_0006afbc;\n    }\n    if (iVar1 == 1) {\n      FUN_0003bb10();\n      return;\n    }\n  }" (if "if") (parenthesized_expression "((DAT_0006b8c4 != 0) &&\n     ((DAT_0006b8c4 = DAT_0006b8c4 + -1, DAT_0006b064 != 1 || (((byte)DAT_0006b664 & 4) == 0))))" (( "(") (binary_expression "(DAT_0006b8c4 != 0) &&\n     ((DAT_0006b8c4 = DAT_0006b8c4 + -1, DAT_0006b064 != 1 || (((byte)DAT_0006b664 & 4) == 0)))" (parenthesized_expression "(DAT_0006b8c4 != 0)" (( "(") (binary_expression "DAT_0006b8c4 != 0" (identifier "DAT_0006b8c4") (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "((DAT_0006b8c4 = DAT_0006b8c4 + -1, DAT_0006b064 != 1 || (((byte)DAT_0006b664 & 4) == 0)))" (( "(") (parenthesized_expression "(DAT_0006b8c4 = DAT_0006b8c4 + -1, DAT_0006b064 != 1 || (((byte)DAT_0006b664 & 4) == 0))" (( "(") (comma_expression "DAT_0006b8c4 = DAT_0006b8c4 + -1, DAT_0006b064 != 1 || (((byte)DAT_0006b664 & 4) == 0)" (assignment_expression "DAT_0006b8c4 = DAT_0006b8c4 + -1" (identifier "DAT_0006b8c4") (= "=") (binary_expression "DAT_0006b8c4 + -1" (identifier "DAT_0006b8c4") (+ "+") (number_literal "-1"))) (, ",") (binary_expression "DAT_0006b064 != 1 || (((byte)DAT_0006b664 & 4) == 0)" (binary_expression "DAT_0006b064 != 1" (identifier "DAT_0006b064") (!= "!=") (number_literal "1")) (|| "||") (parenthesized_expression "(((byte)DAT_0006b664 & 4) == 0)" (( "(") (binary_expression "((byte)DAT_0006b664 & 4) == 0" (parenthesized_expression "((byte)DAT_0006b664 & 4)" (( "(") (binary_expression "(byte)DAT_0006b664 & 4" (cast_expression "(byte)DAT_0006b664" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (identifier "DAT_0006b664")) (& "&") (number_literal "4")) () ")")) (== "==") (number_literal "0")) () ")")))) () ")")) () ")"))) () ")")) (compound_statement "{\n    if (DAT_0006b8c4 == 0) {\n      FUN_00037290();\n      iVar1 = *(int *)PTR_LINES_0006afbc;\n    }\n    else {\n      iVar1 = *(int *)PTR_LINES_0006afbc;\n    }\n    if (iVar1 == 1) {\n      FUN_0003bb10();\n      return;\n    }\n  }" ({ "{") (if_statement "if (DAT_0006b8c4 == 0) {\n      FUN_00037290();\n      iVar1 = *(int *)PTR_LINES_0006afbc;\n    }\n    else {\n      iVar1 = *(int *)PTR_LINES_0006afbc;\n    }" (if "if") (parenthesized_expression "(DAT_0006b8c4 == 0)" (( "(") (binary_expression "DAT_0006b8c4 == 0" (identifier "DAT_0006b8c4") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      FUN_00037290();\n      iVar1 = *(int *)PTR_LINES_0006afbc;\n    }" ({ "{") (expression_statement "FUN_00037290();" (call_expression "FUN_00037290()" (identifier "FUN_00037290") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "iVar1 = *(int *)PTR_LINES_0006afbc;" (assignment_expression "iVar1 = *(int *)PTR_LINES_0006afbc" (identifier "iVar1") (= "=") (pointer_expression "*(int *)PTR_LINES_0006afbc" (* "*") (cast_expression "(int *)PTR_LINES_0006afbc" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_LINES_0006afbc")))) (; ";")) (} "}")) (else_clause "else {\n      iVar1 = *(int *)PTR_LINES_0006afbc;\n    }" (else "else") (compound_statement "{\n      iVar1 = *(int *)PTR_LINES_0006afbc;\n    }" ({ "{") (expression_statement "iVar1 = *(int *)PTR_LINES_0006afbc;" (assignment_expression "iVar1 = *(int *)PTR_LINES_0006afbc" (identifier "iVar1") (= "=") (pointer_expression "*(int *)PTR_LINES_0006afbc" (* "*") (cast_expression "(int *)PTR_LINES_0006afbc" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_LINES_0006afbc")))) (; ";")) (} "}")))) (if_statement "if (iVar1 == 1) {\n      FUN_0003bb10();\n      return;\n    }" (if "if") (parenthesized_expression "(iVar1 == 1)" (( "(") (binary_expression "iVar1 == 1" (identifier "iVar1") (== "==") (number_literal "1")) () ")")) (compound_statement "{\n      FUN_0003bb10();\n      return;\n    }" ({ "{") (expression_statement "FUN_0003bb10();" (call_expression "FUN_0003bb10()" (identifier "FUN_0003bb10") (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention -- yet parameter storage is locked */

void function_1(void)

{
  int var_4;
  
  if ((var_1 != 0) &&
     ((var_1 = var_1 + -1, var_2 != 1 || (((type_1)flags[0] & 4) == 0)))) {
    if (var_1 == 0) {
      var_3();
      var_4 = *(int *)PTR_LINES_0006afbc;
    }
    else {
      var_4 = *(int *)PTR_LINES_0006afbc;
    }
    if (var_4 == 1) {
      var_5();
      return;
    }
  }
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))) right: (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (number_literal))) right: (number_literal))))))))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier)))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier)))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (return_statement))))) (return_statement))))

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

void MASKED(void)

{
  int iVar1;
  
  if ((DAT_0006b8c4 != 0) &&
     ((DAT_0006b8c4 = DAT_0006b8c4 + -1, DAT_0006b064 != 1 || (((byte)DAT_0006b664 & 4) == 0)))) {
    if (DAT_0006b8c4 == 0) {
      FUN_00037290();
      iVar1 = *(int *)PTR_LINES_0006afbc;
    }
    else {
      iVar1 = *(int *)PTR_LINES_0006afbc;
    }
    if (iVar1 == 1) {
      FUN_0003bb10();
      return;
    }
  }
  return;
}

