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

int rl_backward_kill_line(int direction,int key)

{
  int iVar1;
  
  iVar1 = rl_point;
  if (direction < 0) {
    iVar1 = rl_kill_line(1,key);
    return iVar1;
  }
  if (rl_point == 0) {
    rl_ding();
  }
  else {
    rl_beg_of_line(1,key);
    if (iVar1 != rl_point) {
      rl_kill_text(iVar1,rl_point);
    }
    if (rl_editing_mode == 1) {
      rl_mark = rl_point;
      return 0;
    }
  }
  return 0;
}



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

undefined4 rl_backward_kill_line(int param_1,undefined4 param_2)

{
  int iVar1;
  undefined4 uVar2;
  
  iVar1 = rl_point;
  if (param_1 < 0) {
    uVar2 = rl_kill_line();
    return uVar2;
  }
  if (rl_point == 0) {
    rl_ding();
  }
  else {
    rl_beg_of_line(1,param_2);
    if (iVar1 != rl_point) {
      rl_kill_text(iVar1,rl_point);
    }
    if (rl_editing_mode == 1) {
      rl_mark = rl_point;
      return 0;
    }
  }
  return 0;
}


PUSH EDI
PUSH ESI
PUSH EBX
MOV EDX,dword ptr [ESP + 0x10]
CALL 0x00031ed0
ADD EBX,0x6bfa4
MOV EAX,dword ptr [ESP + 0x14]
TEST EDX,EDX
JS 0x000de0c8
LEA EDI,[EBX + 0xd988]
MOV ESI,dword ptr [EDI]
TEST ESI,ESI
JZ 0x000de0b8
SUB ESP,0x8
PUSH EAX
PUSH 0x1
CALL 0x000e2bc0
MOV EAX,dword ptr [EDI]
ADD ESP,0x10
CMP ESI,EAX
JZ 0x000de097
SUB ESP,0x8
PUSH EAX
PUSH ESI
CALL 0x000ddeb0
ADD ESP,0x10
LEA EAX,[EBX + 0x1d50]
CMP dword ptr [EAX],0x1
JNZ 0x000de0bd
LEA EAX,[EBX + 0xd97c]
MOV EDX,dword ptr [EDI]
MOV dword ptr [EAX],EDX
XOR EAX,EAX
POP EBX
POP ESI
POP EDI
RET
CALL 0x000e16a0
POP EBX
XOR EAX,EAX
POP ESI
POP EDI
RET
MOV dword ptr [ESP + 0x10],0x1
POP EBX
POP ESI
POP EDI
JMP 0x000de0e0
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined4 rl_backward_kill_line(int param_1,undefined4 param_2)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = rl_point;\n  if (param_1 < 0) {\n    uVar2 = rl_kill_line();\n    return uVar2;\n  }\n  if (rl_point == 0) {\n    rl_ding();\n  }\n  else {\n    rl_beg_of_line(1,param_2);\n    if (iVar1 != rl_point) {\n      rl_kill_text(iVar1,rl_point);\n    }\n    if (rl_editing_mode == 1) {\n      rl_mark = rl_point;\n      return 0;\n    }\n  }\n  return 0;\n}\n\n" comment (function_definition "undefined4 rl_backward_kill_line(int param_1,undefined4 param_2)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = rl_point;\n  if (param_1 < 0) {\n    uVar2 = rl_kill_line();\n    return uVar2;\n  }\n  if (rl_point == 0) {\n    rl_ding();\n  }\n  else {\n    rl_beg_of_line(1,param_2);\n    if (iVar1 != rl_point) {\n      rl_kill_text(iVar1,rl_point);\n    }\n    if (rl_editing_mode == 1) {\n      rl_mark = rl_point;\n      return 0;\n    }\n  }\n  return 0;\n}" type_identifier (function_declarator "rl_backward_kill_line(int param_1,undefined4 param_2)" identifier (parameter_list "(int param_1,undefined4 param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = rl_point;\n  if (param_1 < 0) {\n    uVar2 = rl_kill_line();\n    return uVar2;\n  }\n  if (rl_point == 0) {\n    rl_ding();\n  }\n  else {\n    rl_beg_of_line(1,param_2);\n    if (iVar1 != rl_point) {\n      rl_kill_text(iVar1,rl_point);\n    }\n    if (rl_editing_mode == 1) {\n      rl_mark = rl_point;\n      return 0;\n    }\n  }\n  return 0;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (expression_statement "iVar1 = rl_point;" (assignment_expression "iVar1 = rl_point" identifier = identifier) ;) (if_statement "if (param_1 < 0) {\n    uVar2 = rl_kill_line();\n    return uVar2;\n  }" if (parenthesized_expression "(param_1 < 0)" ( (binary_expression "param_1 < 0" identifier < number_literal) )) (compound_statement "{\n    uVar2 = rl_kill_line();\n    return uVar2;\n  }" { (expression_statement "uVar2 = rl_kill_line();" (assignment_expression "uVar2 = rl_kill_line()" identifier = (call_expression "rl_kill_line()" identifier (argument_list "()" ( )))) ;) (return_statement "return uVar2;" return identifier ;) })) (if_statement "if (rl_point == 0) {\n    rl_ding();\n  }\n  else {\n    rl_beg_of_line(1,param_2);\n    if (iVar1 != rl_point) {\n      rl_kill_text(iVar1,rl_point);\n    }\n    if (rl_editing_mode == 1) {\n      rl_mark = rl_point;\n      return 0;\n    }\n  }" if (parenthesized_expression "(rl_point == 0)" ( (binary_expression "rl_point == 0" identifier == number_literal) )) (compound_statement "{\n    rl_ding();\n  }" { (expression_statement "rl_ding();" (call_expression "rl_ding()" identifier (argument_list "()" ( ))) ;) }) (else_clause "else {\n    rl_beg_of_line(1,param_2);\n    if (iVar1 != rl_point) {\n      rl_kill_text(iVar1,rl_point);\n    }\n    if (rl_editing_mode == 1) {\n      rl_mark = rl_point;\n      return 0;\n    }\n  }" else (compound_statement "{\n    rl_beg_of_line(1,param_2);\n    if (iVar1 != rl_point) {\n      rl_kill_text(iVar1,rl_point);\n    }\n    if (rl_editing_mode == 1) {\n      rl_mark = rl_point;\n      return 0;\n    }\n  }" { (expression_statement "rl_beg_of_line(1,param_2);" (call_expression "rl_beg_of_line(1,param_2)" identifier (argument_list "(1,param_2)" ( number_literal , identifier ))) ;) (if_statement "if (iVar1 != rl_point) {\n      rl_kill_text(iVar1,rl_point);\n    }" if (parenthesized_expression "(iVar1 != rl_point)" ( (binary_expression "iVar1 != rl_point" identifier != identifier) )) (compound_statement "{\n      rl_kill_text(iVar1,rl_point);\n    }" { (expression_statement "rl_kill_text(iVar1,rl_point);" (call_expression "rl_kill_text(iVar1,rl_point)" identifier (argument_list "(iVar1,rl_point)" ( identifier , identifier ))) ;) })) (if_statement "if (rl_editing_mode == 1) {\n      rl_mark = rl_point;\n      return 0;\n    }" if (parenthesized_expression "(rl_editing_mode == 1)" ( (binary_expression "rl_editing_mode == 1" identifier == number_literal) )) (compound_statement "{\n      rl_mark = rl_point;\n      return 0;\n    }" { (expression_statement "rl_mark = rl_point;" (assignment_expression "rl_mark = rl_point" identifier = identifier) ;) (return_statement "return 0;" return number_literal ;) })) }))) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nint rl_backward_kill_line(int direction,int key)\n\n{\n  int iVar1;\n  \n  iVar1 = rl_point;\n  if (direction < 0) {\n    iVar1 = rl_kill_line(1,key);\n    return iVar1;\n  }\n  if (rl_point == 0) {\n    rl_ding();\n  }\n  else {\n    rl_beg_of_line(1,key);\n    if (iVar1 != rl_point) {\n      rl_kill_text(iVar1,rl_point);\n    }\n    if (rl_editing_mode == 1) {\n      rl_mark = rl_point;\n      return 0;\n    }\n  }\n  return 0;\n}\n\n" comment (function_definition "int rl_backward_kill_line(int direction,int key)\n\n{\n  int iVar1;\n  \n  iVar1 = rl_point;\n  if (direction < 0) {\n    iVar1 = rl_kill_line(1,key);\n    return iVar1;\n  }\n  if (rl_point == 0) {\n    rl_ding();\n  }\n  else {\n    rl_beg_of_line(1,key);\n    if (iVar1 != rl_point) {\n      rl_kill_text(iVar1,rl_point);\n    }\n    if (rl_editing_mode == 1) {\n      rl_mark = rl_point;\n      return 0;\n    }\n  }\n  return 0;\n}" primitive_type (function_declarator "rl_backward_kill_line(int direction,int key)" identifier (parameter_list "(int direction,int key)" ( (parameter_declaration "int direction" primitive_type identifier) , (parameter_declaration "int key" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = rl_point;\n  if (direction < 0) {\n    iVar1 = rl_kill_line(1,key);\n    return iVar1;\n  }\n  if (rl_point == 0) {\n    rl_ding();\n  }\n  else {\n    rl_beg_of_line(1,key);\n    if (iVar1 != rl_point) {\n      rl_kill_text(iVar1,rl_point);\n    }\n    if (rl_editing_mode == 1) {\n      rl_mark = rl_point;\n      return 0;\n    }\n  }\n  return 0;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = rl_point;" (assignment_expression "iVar1 = rl_point" identifier = identifier) ;) (if_statement "if (direction < 0) {\n    iVar1 = rl_kill_line(1,key);\n    return iVar1;\n  }" if (parenthesized_expression "(direction < 0)" ( (binary_expression "direction < 0" identifier < number_literal) )) (compound_statement "{\n    iVar1 = rl_kill_line(1,key);\n    return iVar1;\n  }" { (expression_statement "iVar1 = rl_kill_line(1,key);" (assignment_expression "iVar1 = rl_kill_line(1,key)" identifier = (call_expression "rl_kill_line(1,key)" identifier (argument_list "(1,key)" ( number_literal , identifier )))) ;) (return_statement "return iVar1;" return identifier ;) })) (if_statement "if (rl_point == 0) {\n    rl_ding();\n  }\n  else {\n    rl_beg_of_line(1,key);\n    if (iVar1 != rl_point) {\n      rl_kill_text(iVar1,rl_point);\n    }\n    if (rl_editing_mode == 1) {\n      rl_mark = rl_point;\n      return 0;\n    }\n  }" if (parenthesized_expression "(rl_point == 0)" ( (binary_expression "rl_point == 0" identifier == number_literal) )) (compound_statement "{\n    rl_ding();\n  }" { (expression_statement "rl_ding();" (call_expression "rl_ding()" identifier (argument_list "()" ( ))) ;) }) (else_clause "else {\n    rl_beg_of_line(1,key);\n    if (iVar1 != rl_point) {\n      rl_kill_text(iVar1,rl_point);\n    }\n    if (rl_editing_mode == 1) {\n      rl_mark = rl_point;\n      return 0;\n    }\n  }" else (compound_statement "{\n    rl_beg_of_line(1,key);\n    if (iVar1 != rl_point) {\n      rl_kill_text(iVar1,rl_point);\n    }\n    if (rl_editing_mode == 1) {\n      rl_mark = rl_point;\n      return 0;\n    }\n  }" { (expression_statement "rl_beg_of_line(1,key);" (call_expression "rl_beg_of_line(1,key)" identifier (argument_list "(1,key)" ( number_literal , identifier ))) ;) (if_statement "if (iVar1 != rl_point) {\n      rl_kill_text(iVar1,rl_point);\n    }" if (parenthesized_expression "(iVar1 != rl_point)" ( (binary_expression "iVar1 != rl_point" identifier != identifier) )) (compound_statement "{\n      rl_kill_text(iVar1,rl_point);\n    }" { (expression_statement "rl_kill_text(iVar1,rl_point);" (call_expression "rl_kill_text(iVar1,rl_point)" identifier (argument_list "(iVar1,rl_point)" ( identifier , identifier ))) ;) })) (if_statement "if (rl_editing_mode == 1) {\n      rl_mark = rl_point;\n      return 0;\n    }" if (parenthesized_expression "(rl_editing_mode == 1)" ( (binary_expression "rl_editing_mode == 1" identifier == number_literal) )) (compound_statement "{\n      rl_mark = rl_point;\n      return 0;\n    }" { (expression_statement "rl_mark = rl_point;" (assignment_expression "rl_mark = rl_point" identifier = identifier) ;) (return_statement "return 0;" return number_literal ;) })) }))) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "undefined4 rl_backward_kill_line(int param_1,undefined4 param_2)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = rl_point;\n  if (param_1 < 0) {\n    uVar2 = rl_kill_line();\n    return uVar2;\n  }\n  if (rl_point == 0) {\n    rl_ding();\n  }\n  else {\n    rl_beg_of_line(1,param_2);\n    if (iVar1 != rl_point) {\n      rl_kill_text(iVar1,rl_point);\n    }\n    if (rl_editing_mode == 1) {\n      rl_mark = rl_point;\n      return 0;\n    }\n  }\n  return 0;\n}\n\n" (function_definition "undefined4 rl_backward_kill_line(int param_1,undefined4 param_2)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = rl_point;\n  if (param_1 < 0) {\n    uVar2 = rl_kill_line();\n    return uVar2;\n  }\n  if (rl_point == 0) {\n    rl_ding();\n  }\n  else {\n    rl_beg_of_line(1,param_2);\n    if (iVar1 != rl_point) {\n      rl_kill_text(iVar1,rl_point);\n    }\n    if (rl_editing_mode == 1) {\n      rl_mark = rl_point;\n      return 0;\n    }\n  }\n  return 0;\n}" type_identifier (function_declarator "rl_backward_kill_line(int param_1,undefined4 param_2)" identifier (parameter_list "(int param_1,undefined4 param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = rl_point;\n  if (param_1 < 0) {\n    uVar2 = rl_kill_line();\n    return uVar2;\n  }\n  if (rl_point == 0) {\n    rl_ding();\n  }\n  else {\n    rl_beg_of_line(1,param_2);\n    if (iVar1 != rl_point) {\n      rl_kill_text(iVar1,rl_point);\n    }\n    if (rl_editing_mode == 1) {\n      rl_mark = rl_point;\n      return 0;\n    }\n  }\n  return 0;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (expression_statement "iVar1 = rl_point;" (assignment_expression "iVar1 = rl_point" identifier = identifier) ;) (if_statement "if (param_1 < 0) {\n    uVar2 = rl_kill_line();\n    return uVar2;\n  }" if (parenthesized_expression "(param_1 < 0)" ( (binary_expression "param_1 < 0" identifier < number_literal) )) (compound_statement "{\n    uVar2 = rl_kill_line();\n    return uVar2;\n  }" { (expression_statement "uVar2 = rl_kill_line();" (assignment_expression "uVar2 = rl_kill_line()" identifier = (call_expression "rl_kill_line()" identifier (argument_list "()" ( )))) ;) (return_statement "return uVar2;" return identifier ;) })) (if_statement "if (rl_point == 0) {\n    rl_ding();\n  }\n  else {\n    rl_beg_of_line(1,param_2);\n    if (iVar1 != rl_point) {\n      rl_kill_text(iVar1,rl_point);\n    }\n    if (rl_editing_mode == 1) {\n      rl_mark = rl_point;\n      return 0;\n    }\n  }" if (parenthesized_expression "(rl_point == 0)" ( (binary_expression "rl_point == 0" identifier == number_literal) )) (compound_statement "{\n    rl_ding();\n  }" { (expression_statement "rl_ding();" (call_expression "rl_ding()" identifier (argument_list "()" ( ))) ;) }) (else_clause "else {\n    rl_beg_of_line(1,param_2);\n    if (iVar1 != rl_point) {\n      rl_kill_text(iVar1,rl_point);\n    }\n    if (rl_editing_mode == 1) {\n      rl_mark = rl_point;\n      return 0;\n    }\n  }" else (compound_statement "{\n    rl_beg_of_line(1,param_2);\n    if (iVar1 != rl_point) {\n      rl_kill_text(iVar1,rl_point);\n    }\n    if (rl_editing_mode == 1) {\n      rl_mark = rl_point;\n      return 0;\n    }\n  }" { (expression_statement "rl_beg_of_line(1,param_2);" (call_expression "rl_beg_of_line(1,param_2)" identifier (argument_list "(1,param_2)" ( number_literal , identifier ))) ;) (if_statement "if (iVar1 != rl_point) {\n      rl_kill_text(iVar1,rl_point);\n    }" if (parenthesized_expression "(iVar1 != rl_point)" ( (binary_expression "iVar1 != rl_point" identifier != identifier) )) (compound_statement "{\n      rl_kill_text(iVar1,rl_point);\n    }" { (expression_statement "rl_kill_text(iVar1,rl_point);" (call_expression "rl_kill_text(iVar1,rl_point)" identifier (argument_list "(iVar1,rl_point)" ( identifier , identifier ))) ;) })) (if_statement "if (rl_editing_mode == 1) {\n      rl_mark = rl_point;\n      return 0;\n    }" if (parenthesized_expression "(rl_editing_mode == 1)" ( (binary_expression "rl_editing_mode == 1" identifier == number_literal) )) (compound_statement "{\n      rl_mark = rl_point;\n      return 0;\n    }" { (expression_statement "rl_mark = rl_point;" (assignment_expression "rl_mark = rl_point" identifier = identifier) ;) (return_statement "return 0;" return number_literal ;) })) }))) (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 { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (return_statement return IDENT ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) }) (else_clause else (compound_statement { (expression_statement (call_expression IDENT (argument_list ( LIT , IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (return_statement return LIT ;) })) }))) (return_statement return LIT ;) })))
(function_definition "undefined4 rl_backward_kill_line(int param_1,undefined4 param_2)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = rl_point;\n  if (param_1 < 0) {\n    uVar2 = rl_kill_line();\n    return uVar2;\n  }\n  if (rl_point == 0) {\n    rl_ding();\n  }\n  else {\n    rl_beg_of_line(1,param_2);\n    if (iVar1 != rl_point) {\n      rl_kill_text(iVar1,rl_point);\n    }\n    if (rl_editing_mode == 1) {\n      rl_mark = rl_point;\n      return 0;\n    }\n  }\n  return 0;\n}" (type_identifier "undefined4") (function_declarator "rl_backward_kill_line(int param_1,undefined4 param_2)" (identifier "rl_backward_kill_line") (parameter_list "(int param_1,undefined4 param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) () ")"))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  \n  iVar1 = rl_point;\n  if (param_1 < 0) {\n    uVar2 = rl_kill_line();\n    return uVar2;\n  }\n  if (rl_point == 0) {\n    rl_ding();\n  }\n  else {\n    rl_beg_of_line(1,param_2);\n    if (iVar1 != rl_point) {\n      rl_kill_text(iVar1,rl_point);\n    }\n    if (rl_editing_mode == 1) {\n      rl_mark = rl_point;\n      return 0;\n    }\n  }\n  return 0;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (expression_statement "iVar1 = rl_point;" (assignment_expression "iVar1 = rl_point" (identifier "iVar1") (= "=") (identifier "rl_point")) (; ";")) (if_statement "if (param_1 < 0) {\n    uVar2 = rl_kill_line();\n    return uVar2;\n  }" (if "if") (parenthesized_expression "(param_1 < 0)" (( "(") (binary_expression "param_1 < 0" (identifier "param_1") (< "<") (number_literal "0")) () ")")) (compound_statement "{\n    uVar2 = rl_kill_line();\n    return uVar2;\n  }" ({ "{") (expression_statement "uVar2 = rl_kill_line();" (assignment_expression "uVar2 = rl_kill_line()" (identifier "uVar2") (= "=") (call_expression "rl_kill_line()" (identifier "rl_kill_line") (argument_list "()" (( "(") () ")")))) (; ";")) (return_statement "return uVar2;" (return "return") (identifier "uVar2") (; ";")) (} "}"))) (if_statement "if (rl_point == 0) {\n    rl_ding();\n  }\n  else {\n    rl_beg_of_line(1,param_2);\n    if (iVar1 != rl_point) {\n      rl_kill_text(iVar1,rl_point);\n    }\n    if (rl_editing_mode == 1) {\n      rl_mark = rl_point;\n      return 0;\n    }\n  }" (if "if") (parenthesized_expression "(rl_point == 0)" (( "(") (binary_expression "rl_point == 0" (identifier "rl_point") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    rl_ding();\n  }" ({ "{") (expression_statement "rl_ding();" (call_expression "rl_ding()" (identifier "rl_ding") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")) (else_clause "else {\n    rl_beg_of_line(1,param_2);\n    if (iVar1 != rl_point) {\n      rl_kill_text(iVar1,rl_point);\n    }\n    if (rl_editing_mode == 1) {\n      rl_mark = rl_point;\n      return 0;\n    }\n  }" (else "else") (compound_statement "{\n    rl_beg_of_line(1,param_2);\n    if (iVar1 != rl_point) {\n      rl_kill_text(iVar1,rl_point);\n    }\n    if (rl_editing_mode == 1) {\n      rl_mark = rl_point;\n      return 0;\n    }\n  }" ({ "{") (expression_statement "rl_beg_of_line(1,param_2);" (call_expression "rl_beg_of_line(1,param_2)" (identifier "rl_beg_of_line") (argument_list "(1,param_2)" (( "(") (number_literal "1") (, ",") (identifier "param_2") () ")"))) (; ";")) (if_statement "if (iVar1 != rl_point) {\n      rl_kill_text(iVar1,rl_point);\n    }" (if "if") (parenthesized_expression "(iVar1 != rl_point)" (( "(") (binary_expression "iVar1 != rl_point" (identifier "iVar1") (!= "!=") (identifier "rl_point")) () ")")) (compound_statement "{\n      rl_kill_text(iVar1,rl_point);\n    }" ({ "{") (expression_statement "rl_kill_text(iVar1,rl_point);" (call_expression "rl_kill_text(iVar1,rl_point)" (identifier "rl_kill_text") (argument_list "(iVar1,rl_point)" (( "(") (identifier "iVar1") (, ",") (identifier "rl_point") () ")"))) (; ";")) (} "}"))) (if_statement "if (rl_editing_mode == 1) {\n      rl_mark = rl_point;\n      return 0;\n    }" (if "if") (parenthesized_expression "(rl_editing_mode == 1)" (( "(") (binary_expression "rl_editing_mode == 1" (identifier "rl_editing_mode") (== "==") (number_literal "1")) () ")")) (compound_statement "{\n      rl_mark = rl_point;\n      return 0;\n    }" ({ "{") (expression_statement "rl_mark = rl_point;" (assignment_expression "rl_mark = rl_point" (identifier "rl_mark") (= "=") (identifier "rl_point")) (; ";")) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (} "}")))) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}")))

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

int function_1(int var_1,int key)

{
  int var_6;
  
  var_6 = var_3;
  if (var_1 < 0) {
    var_6 = var_2(1,key);
    return var_6;
  }
  if (var_3 == 0) {
    var_4();
  }
  else {
    var_5(1,key);
    if (var_6 != var_3) {
      var_7(var_6,var_3);
    }
    if (var_8 == 1) {
      rl_mark = var_3;
      return 0;
    }
  }
  return 0;
}


(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (return_statement (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)))) alternative: (else_clause (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (number_literal) (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))) (return_statement (number_literal))))))) (return_statement (number_literal)))))

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

undefined4 MASKED(int param_1,undefined4 param_2)

{
  int iVar1;
  undefined4 uVar2;
  
  iVar1 = rl_point;
  if (param_1 < 0) {
    uVar2 = rl_kill_line();
    return uVar2;
  }
  if (rl_point == 0) {
    rl_ding();
  }
  else {
    rl_beg_of_line(1,param_2);
    if (iVar1 != rl_point) {
      rl_kill_text(iVar1,rl_point);
    }
    if (rl_editing_mode == 1) {
      rl_mark = rl_point;
      return 0;
    }
  }
  return 0;
}

