
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention */

int rl_clear_screen(int count,int key)

{
  if (rl_explicit_arg == 0) {
    _rl_clear_screen();
    rl_forced_update_display();
    rl_display_fixed = 1;
    return 0;
  }
  rl_refresh_line(count,key);
  return 0;
}



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

undefined4 rl_clear_screen(undefined4 param_1,undefined4 param_2)

{
  if (rl_explicit_arg == 0) {
    _rl_clear_screen();
    rl_forced_update_display();
    rl_display_fixed = 1;
    return 0;
  }
  rl_refresh_line(param_1,param_2);
  return 0;
}


PUSH EBX
CALL 0x00031ed0
ADD EBX,0x66eba
SUB ESP,0x8
LEA EAX,[EBX + 0x7b48]
MOV EAX,dword ptr [EAX]
TEST EAX,EAX
JNZ 0x000e3180
CALL 0x000dc090
CALL 0x000d7660
LEA EAX,[EBX + 0x7ed8]
MOV dword ptr [EAX],0x1
ADD ESP,0x8
XOR EAX,EAX
POP EBX
RET
SUB ESP,0x8
PUSH dword ptr [ESP + 0x1c]
PUSH dword ptr [ESP + 0x1c]
CALL 0x000e30e0
ADD ESP,0x10
XOR EAX,EAX
ADD ESP,0x8
POP EBX
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined4 rl_clear_screen(undefined4 param_1,undefined4 param_2)\n\n{\n  if (rl_explicit_arg == 0) {\n    _rl_clear_screen();\n    rl_forced_update_display();\n    rl_display_fixed = 1;\n    return 0;\n  }\n  rl_refresh_line(param_1,param_2);\n  return 0;\n}\n\n" comment (function_definition "undefined4 rl_clear_screen(undefined4 param_1,undefined4 param_2)\n\n{\n  if (rl_explicit_arg == 0) {\n    _rl_clear_screen();\n    rl_forced_update_display();\n    rl_display_fixed = 1;\n    return 0;\n  }\n  rl_refresh_line(param_1,param_2);\n  return 0;\n}" type_identifier (function_declarator "rl_clear_screen(undefined4 param_1,undefined4 param_2)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  if (rl_explicit_arg == 0) {\n    _rl_clear_screen();\n    rl_forced_update_display();\n    rl_display_fixed = 1;\n    return 0;\n  }\n  rl_refresh_line(param_1,param_2);\n  return 0;\n}" { (if_statement "if (rl_explicit_arg == 0) {\n    _rl_clear_screen();\n    rl_forced_update_display();\n    rl_display_fixed = 1;\n    return 0;\n  }" if (parenthesized_expression "(rl_explicit_arg == 0)" ( (binary_expression "rl_explicit_arg == 0" identifier == number_literal) )) (compound_statement "{\n    _rl_clear_screen();\n    rl_forced_update_display();\n    rl_display_fixed = 1;\n    return 0;\n  }" { (expression_statement "_rl_clear_screen();" (call_expression "_rl_clear_screen()" identifier (argument_list "()" ( ))) ;) (expression_statement "rl_forced_update_display();" (call_expression "rl_forced_update_display()" identifier (argument_list "()" ( ))) ;) (expression_statement "rl_display_fixed = 1;" (assignment_expression "rl_display_fixed = 1" identifier = number_literal) ;) (return_statement "return 0;" return number_literal ;) })) (expression_statement "rl_refresh_line(param_1,param_2);" (call_expression "rl_refresh_line(param_1,param_2)" identifier (argument_list "(param_1,param_2)" ( identifier , identifier ))) ;) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\nint rl_clear_screen(int count,int key)\n\n{\n  if (rl_explicit_arg == 0) {\n    _rl_clear_screen();\n    rl_forced_update_display();\n    rl_display_fixed = 1;\n    return 0;\n  }\n  rl_refresh_line(count,key);\n  return 0;\n}\n\n" comment comment (function_definition "int rl_clear_screen(int count,int key)\n\n{\n  if (rl_explicit_arg == 0) {\n    _rl_clear_screen();\n    rl_forced_update_display();\n    rl_display_fixed = 1;\n    return 0;\n  }\n  rl_refresh_line(count,key);\n  return 0;\n}" primitive_type (function_declarator "rl_clear_screen(int count,int key)" identifier (parameter_list "(int count,int key)" ( (parameter_declaration "int count" primitive_type identifier) , (parameter_declaration "int key" primitive_type identifier) ))) (compound_statement "{\n  if (rl_explicit_arg == 0) {\n    _rl_clear_screen();\n    rl_forced_update_display();\n    rl_display_fixed = 1;\n    return 0;\n  }\n  rl_refresh_line(count,key);\n  return 0;\n}" { (if_statement "if (rl_explicit_arg == 0) {\n    _rl_clear_screen();\n    rl_forced_update_display();\n    rl_display_fixed = 1;\n    return 0;\n  }" if (parenthesized_expression "(rl_explicit_arg == 0)" ( (binary_expression "rl_explicit_arg == 0" identifier == number_literal) )) (compound_statement "{\n    _rl_clear_screen();\n    rl_forced_update_display();\n    rl_display_fixed = 1;\n    return 0;\n  }" { (expression_statement "_rl_clear_screen();" (call_expression "_rl_clear_screen()" identifier (argument_list "()" ( ))) ;) (expression_statement "rl_forced_update_display();" (call_expression "rl_forced_update_display()" identifier (argument_list "()" ( ))) ;) (expression_statement "rl_display_fixed = 1;" (assignment_expression "rl_display_fixed = 1" identifier = number_literal) ;) (return_statement "return 0;" return number_literal ;) })) (expression_statement "rl_refresh_line(count,key);" (call_expression "rl_refresh_line(count,key)" identifier (argument_list "(count,key)" ( identifier , identifier ))) ;) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "undefined4 rl_clear_screen(undefined4 param_1,undefined4 param_2)\n\n{\n  if (rl_explicit_arg == 0) {\n    _rl_clear_screen();\n    rl_forced_update_display();\n    rl_display_fixed = 1;\n    return 0;\n  }\n  rl_refresh_line(param_1,param_2);\n  return 0;\n}\n\n" (function_definition "undefined4 rl_clear_screen(undefined4 param_1,undefined4 param_2)\n\n{\n  if (rl_explicit_arg == 0) {\n    _rl_clear_screen();\n    rl_forced_update_display();\n    rl_display_fixed = 1;\n    return 0;\n  }\n  rl_refresh_line(param_1,param_2);\n  return 0;\n}" type_identifier (function_declarator "rl_clear_screen(undefined4 param_1,undefined4 param_2)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  if (rl_explicit_arg == 0) {\n    _rl_clear_screen();\n    rl_forced_update_display();\n    rl_display_fixed = 1;\n    return 0;\n  }\n  rl_refresh_line(param_1,param_2);\n  return 0;\n}" { (if_statement "if (rl_explicit_arg == 0) {\n    _rl_clear_screen();\n    rl_forced_update_display();\n    rl_display_fixed = 1;\n    return 0;\n  }" if (parenthesized_expression "(rl_explicit_arg == 0)" ( (binary_expression "rl_explicit_arg == 0" identifier == number_literal) )) (compound_statement "{\n    _rl_clear_screen();\n    rl_forced_update_display();\n    rl_display_fixed = 1;\n    return 0;\n  }" { (expression_statement "_rl_clear_screen();" (call_expression "_rl_clear_screen()" identifier (argument_list "()" ( ))) ;) (expression_statement "rl_forced_update_display();" (call_expression "rl_forced_update_display()" identifier (argument_list "()" ( ))) ;) (expression_statement "rl_display_fixed = 1;" (assignment_expression "rl_display_fixed = 1" identifier = number_literal) ;) (return_statement "return 0;" return number_literal ;) })) (expression_statement "rl_refresh_line(param_1,param_2);" (call_expression "rl_refresh_line(param_1,param_2)" identifier (argument_list "(param_1,param_2)" ( identifier , identifier ))) ;) (return_statement "return 0;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (return_statement return LIT ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (return_statement return LIT ;) })))
(function_definition "undefined4 rl_clear_screen(undefined4 param_1,undefined4 param_2)\n\n{\n  if (rl_explicit_arg == 0) {\n    _rl_clear_screen();\n    rl_forced_update_display();\n    rl_display_fixed = 1;\n    return 0;\n  }\n  rl_refresh_line(param_1,param_2);\n  return 0;\n}" (type_identifier "undefined4") (function_declarator "rl_clear_screen(undefined4 param_1,undefined4 param_2)" (identifier "rl_clear_screen") (parameter_list "(undefined4 param_1,undefined4 param_2)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) () ")"))) (compound_statement "{\n  if (rl_explicit_arg == 0) {\n    _rl_clear_screen();\n    rl_forced_update_display();\n    rl_display_fixed = 1;\n    return 0;\n  }\n  rl_refresh_line(param_1,param_2);\n  return 0;\n}" ({ "{") (if_statement "if (rl_explicit_arg == 0) {\n    _rl_clear_screen();\n    rl_forced_update_display();\n    rl_display_fixed = 1;\n    return 0;\n  }" (if "if") (parenthesized_expression "(rl_explicit_arg == 0)" (( "(") (binary_expression "rl_explicit_arg == 0" (identifier "rl_explicit_arg") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    _rl_clear_screen();\n    rl_forced_update_display();\n    rl_display_fixed = 1;\n    return 0;\n  }" ({ "{") (expression_statement "_rl_clear_screen();" (call_expression "_rl_clear_screen()" (identifier "_rl_clear_screen") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "rl_forced_update_display();" (call_expression "rl_forced_update_display()" (identifier "rl_forced_update_display") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "rl_display_fixed = 1;" (assignment_expression "rl_display_fixed = 1" (identifier "rl_display_fixed") (= "=") (number_literal "1")) (; ";")) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (expression_statement "rl_refresh_line(param_1,param_2);" (call_expression "rl_refresh_line(param_1,param_2)" (identifier "rl_refresh_line") (argument_list "(param_1,param_2)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") () ")"))) (; ";")) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention */

int function_1(int count,int key)

{
  if (var_1 == 0) {
    var_2();
    var_3();
    rl_display_fixed = 1;
    return 0;
  }
  var_4(count,key);
  return 0;
}


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

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

undefined4 MASKED(undefined4 param_1,undefined4 param_2)

{
  if (rl_explicit_arg == 0) {
    _MASKED();
    rl_forced_update_display();
    rl_display_fixed = 1;
    return 0;
  }
  rl_refresh_line(param_1,param_2);
  return 0;
}

