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

int rl_vi_editing_mode(int count,int key)

{
  rl_insert_mode = 1;
  rl_editing_mode = 0;
  rl_vi_insert_mode(1,key);
  return 0;
}



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

undefined4 rl_vi_editing_mode(undefined4 param_1,undefined4 param_2)

{
  rl_insert_mode = 1;
  rl_editing_mode = 0;
  rl_vi_insert_mode(1,param_2);
  return 0;
}


PUSH EBX
CALL 0x000312b0
ADD EBX,0x6a85a
SUB ESP,0x10
LEA EAX,[EBX + 0x1d4c]
MOV dword ptr [EAX],0x1
LEA EAX,[EBX + 0x1d50]
MOV dword ptr [EAX],0x0
PUSH dword ptr [ESP + 0x1c]
PUSH 0x1
CALL 0x000e3430
ADD ESP,0x18
XOR EAX,EAX
POP EBX
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined4 rl_vi_editing_mode(undefined4 param_1,undefined4 param_2)\n\n{\n  rl_insert_mode = 1;\n  rl_editing_mode = 0;\n  rl_vi_insert_mode(1,param_2);\n  return 0;\n}\n\n" comment (function_definition "undefined4 rl_vi_editing_mode(undefined4 param_1,undefined4 param_2)\n\n{\n  rl_insert_mode = 1;\n  rl_editing_mode = 0;\n  rl_vi_insert_mode(1,param_2);\n  return 0;\n}" type_identifier (function_declarator "rl_vi_editing_mode(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  rl_insert_mode = 1;\n  rl_editing_mode = 0;\n  rl_vi_insert_mode(1,param_2);\n  return 0;\n}" { (expression_statement "rl_insert_mode = 1;" (assignment_expression "rl_insert_mode = 1" identifier = number_literal) ;) (expression_statement "rl_editing_mode = 0;" (assignment_expression "rl_editing_mode = 0" identifier = number_literal) ;) (expression_statement "rl_vi_insert_mode(1,param_2);" (call_expression "rl_vi_insert_mode(1,param_2)" identifier (argument_list "(1,param_2)" ( number_literal , 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_vi_editing_mode(int count,int key)\n\n{\n  rl_insert_mode = 1;\n  rl_editing_mode = 0;\n  rl_vi_insert_mode(1,key);\n  return 0;\n}\n\n" comment comment (function_definition "int rl_vi_editing_mode(int count,int key)\n\n{\n  rl_insert_mode = 1;\n  rl_editing_mode = 0;\n  rl_vi_insert_mode(1,key);\n  return 0;\n}" primitive_type (function_declarator "rl_vi_editing_mode(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  rl_insert_mode = 1;\n  rl_editing_mode = 0;\n  rl_vi_insert_mode(1,key);\n  return 0;\n}" { (expression_statement "rl_insert_mode = 1;" (assignment_expression "rl_insert_mode = 1" identifier = number_literal) ;) (expression_statement "rl_editing_mode = 0;" (assignment_expression "rl_editing_mode = 0" identifier = number_literal) ;) (expression_statement "rl_vi_insert_mode(1,key);" (call_expression "rl_vi_insert_mode(1,key)" identifier (argument_list "(1,key)" ( number_literal , identifier ))) ;) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "undefined4 rl_vi_editing_mode(undefined4 param_1,undefined4 param_2)\n\n{\n  rl_insert_mode = 1;\n  rl_editing_mode = 0;\n  rl_vi_insert_mode(1,param_2);\n  return 0;\n}\n\n" (function_definition "undefined4 rl_vi_editing_mode(undefined4 param_1,undefined4 param_2)\n\n{\n  rl_insert_mode = 1;\n  rl_editing_mode = 0;\n  rl_vi_insert_mode(1,param_2);\n  return 0;\n}" type_identifier (function_declarator "rl_vi_editing_mode(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  rl_insert_mode = 1;\n  rl_editing_mode = 0;\n  rl_vi_insert_mode(1,param_2);\n  return 0;\n}" { (expression_statement "rl_insert_mode = 1;" (assignment_expression "rl_insert_mode = 1" identifier = number_literal) ;) (expression_statement "rl_editing_mode = 0;" (assignment_expression "rl_editing_mode = 0" identifier = number_literal) ;) (expression_statement "rl_vi_insert_mode(1,param_2);" (call_expression "rl_vi_insert_mode(1,param_2)" identifier (argument_list "(1,param_2)" ( number_literal , 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 { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( LIT , IDENT ))) ;) (return_statement return LIT ;) })))
(function_definition "undefined4 rl_vi_editing_mode(undefined4 param_1,undefined4 param_2)\n\n{\n  rl_insert_mode = 1;\n  rl_editing_mode = 0;\n  rl_vi_insert_mode(1,param_2);\n  return 0;\n}" (type_identifier "undefined4") (function_declarator "rl_vi_editing_mode(undefined4 param_1,undefined4 param_2)" (identifier "rl_vi_editing_mode") (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  rl_insert_mode = 1;\n  rl_editing_mode = 0;\n  rl_vi_insert_mode(1,param_2);\n  return 0;\n}" ({ "{") (expression_statement "rl_insert_mode = 1;" (assignment_expression "rl_insert_mode = 1" (identifier "rl_insert_mode") (= "=") (number_literal "1")) (; ";")) (expression_statement "rl_editing_mode = 0;" (assignment_expression "rl_editing_mode = 0" (identifier "rl_editing_mode") (= "=") (number_literal "0")) (; ";")) (expression_statement "rl_vi_insert_mode(1,param_2);" (call_expression "rl_vi_insert_mode(1,param_2)" (identifier "rl_vi_insert_mode") (argument_list "(1,param_2)" (( "(") (number_literal "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)

{
  rl_insert_mode = 1;
  rl_editing_mode = 0;
  var_1(1,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 (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (number_literal) (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)

{
  rl_insert_mode = 1;
  rl_editing_mode = 0;
  rl_vi_insert_mode(1,param_2);
  return 0;
}

