
void stop(int type)

{
  signal(0x14,stop);
  sigs = sigs | 2;
  if (reading != 0) {
    intread();
  }
  return;
}



void FUN_00118682(void)

{
  signal(0x14,FUN_00118682);
  DAT_0012dab8 = DAT_0012dab8 | 2;
  if (DAT_0012da80 != 0) {
    FUN_00115229();
  }
  return;
}


SUB RSP,0x8
LEA RSI,[0x118682]
MOV EDI,0x14
CALL 0x00104220
OR dword ptr [0x0012dab8],0x2
CMP dword ptr [0x0012da80],0x0
JNZ 0x001186ac
ADD RSP,0x8
RET
MOV EAX,0x0
CALL 0x00115229
JMP 0x001186a7
(translation_unit "void FUN_00118682(void)\n\n{\n  signal(0x14,FUN_00118682);\n  DAT_0012dab8 = DAT_0012dab8 | 2;\n  if (DAT_0012da80 != 0) {\n    FUN_00115229();\n  }\n  return;\n}\n\n" (function_definition "void FUN_00118682(void)\n\n{\n  signal(0x14,FUN_00118682);\n  DAT_0012dab8 = DAT_0012dab8 | 2;\n  if (DAT_0012da80 != 0) {\n    FUN_00115229();\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00118682(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  signal(0x14,FUN_00118682);\n  DAT_0012dab8 = DAT_0012dab8 | 2;\n  if (DAT_0012da80 != 0) {\n    FUN_00115229();\n  }\n  return;\n}" { (expression_statement "signal(0x14,FUN_00118682);" (call_expression "signal(0x14,FUN_00118682)" identifier (argument_list "(0x14,FUN_00118682)" ( number_literal , identifier ))) ;) (expression_statement "DAT_0012dab8 = DAT_0012dab8 | 2;" (assignment_expression "DAT_0012dab8 = DAT_0012dab8 | 2" identifier = (binary_expression "DAT_0012dab8 | 2" identifier | number_literal)) ;) (if_statement "if (DAT_0012da80 != 0) {\n    FUN_00115229();\n  }" if (parenthesized_expression "(DAT_0012da80 != 0)" ( (binary_expression "DAT_0012da80 != 0" identifier != number_literal) )) (compound_statement "{\n    FUN_00115229();\n  }" { (expression_statement "FUN_00115229();" (call_expression "FUN_00115229()" identifier (argument_list "()" ( ))) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void stop(int type)\n\n{\n  signal(0x14,stop);\n  sigs = sigs | 2;\n  if (reading != 0) {\n    intread();\n  }\n  return;\n}\n\n" (function_definition "void stop(int type)\n\n{\n  signal(0x14,stop);\n  sigs = sigs | 2;\n  if (reading != 0) {\n    intread();\n  }\n  return;\n}" primitive_type (function_declarator "stop(int type)" identifier (parameter_list "(int type)" ( (parameter_declaration "int type" primitive_type identifier) ))) (compound_statement "{\n  signal(0x14,stop);\n  sigs = sigs | 2;\n  if (reading != 0) {\n    intread();\n  }\n  return;\n}" { (expression_statement "signal(0x14,stop);" (call_expression "signal(0x14,stop)" identifier (argument_list "(0x14,stop)" ( number_literal , identifier ))) ;) (expression_statement "sigs = sigs | 2;" (assignment_expression "sigs = sigs | 2" identifier = (binary_expression "sigs | 2" identifier | number_literal)) ;) (if_statement "if (reading != 0) {\n    intread();\n  }" if (parenthesized_expression "(reading != 0)" ( (binary_expression "reading != 0" identifier != number_literal) )) (compound_statement "{\n    intread();\n  }" { (expression_statement "intread();" (call_expression "intread()" identifier (argument_list "()" ( ))) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00118682(void)\n\n{\n  signal(0x14,FUN_00118682);\n  DAT_0012dab8 = DAT_0012dab8 | 2;\n  if (DAT_0012da80 != 0) {\n    FUN_00115229();\n  }\n  return;\n}\n\n" (function_definition "void FUN_00118682(void)\n\n{\n  signal(0x14,FUN_00118682);\n  DAT_0012dab8 = DAT_0012dab8 | 2;\n  if (DAT_0012da80 != 0) {\n    FUN_00115229();\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00118682(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  signal(0x14,FUN_00118682);\n  DAT_0012dab8 = DAT_0012dab8 | 2;\n  if (DAT_0012da80 != 0) {\n    FUN_00115229();\n  }\n  return;\n}" { (expression_statement "signal(0x14,FUN_00118682);" (call_expression "signal(0x14,FUN_00118682)" identifier (argument_list "(0x14,FUN_00118682)" ( number_literal , identifier ))) ;) (expression_statement "DAT_0012dab8 = DAT_0012dab8 | 2;" (assignment_expression "DAT_0012dab8 = DAT_0012dab8 | 2" identifier = (binary_expression "DAT_0012dab8 | 2" identifier | number_literal)) ;) (if_statement "if (DAT_0012da80 != 0) {\n    FUN_00115229();\n  }" if (parenthesized_expression "(DAT_0012da80 != 0)" ( (binary_expression "DAT_0012da80 != 0" identifier != number_literal) )) (compound_statement "{\n    FUN_00115229();\n  }" { (expression_statement "FUN_00115229();" (call_expression "FUN_00115229()" identifier (argument_list "()" ( ))) ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( LIT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT | LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (return_statement return ;) })))
(function_definition "void FUN_00118682(void)\n\n{\n  signal(0x14,FUN_00118682);\n  DAT_0012dab8 = DAT_0012dab8 | 2;\n  if (DAT_0012da80 != 0) {\n    FUN_00115229();\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00118682(void)" (identifier "FUN_00118682") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  signal(0x14,FUN_00118682);\n  DAT_0012dab8 = DAT_0012dab8 | 2;\n  if (DAT_0012da80 != 0) {\n    FUN_00115229();\n  }\n  return;\n}" ({ "{") (expression_statement "signal(0x14,FUN_00118682);" (call_expression "signal(0x14,FUN_00118682)" (identifier "signal") (argument_list "(0x14,FUN_00118682)" (( "(") (number_literal "0x14") (, ",") (identifier "FUN_00118682") () ")"))) (; ";")) (expression_statement "DAT_0012dab8 = DAT_0012dab8 | 2;" (assignment_expression "DAT_0012dab8 = DAT_0012dab8 | 2" (identifier "DAT_0012dab8") (= "=") (binary_expression "DAT_0012dab8 | 2" (identifier "DAT_0012dab8") (| "|") (number_literal "2"))) (; ";")) (if_statement "if (DAT_0012da80 != 0) {\n    FUN_00115229();\n  }" (if "if") (parenthesized_expression "(DAT_0012da80 != 0)" (( "(") (binary_expression "DAT_0012da80 != 0" (identifier "DAT_0012da80") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    FUN_00115229();\n  }" ({ "{") (expression_statement "FUN_00115229();" (call_expression "FUN_00115229()" (identifier "FUN_00115229") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

void function_1(int type)

{
  var_1(0x14,function_1);
  var_2 = var_2 | 2;
  if (var_3 != 0) {
    var_4();
  }
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type)))) body: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (number_literal) (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (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))))

void MASKED(void)

{
  signal(0x14,MASKED);
  DAT_0012dab8 = DAT_0012dab8 | 2;
  if (DAT_0012da80 != 0) {
    FUN_00115229();
  }
  return;
}

