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

int rl_history_search_backward(int count,int ignore)

{
  int iVar1;
  
  if (count == 0) {
    return 0;
  }
  if ((rl_last_func != rl_history_search_forward) && (rl_last_func != rl_history_search_backward)) {
    rl_history_search_reinit(1);
  }
  if (rl_history_search_len != 0) {
    iVar1 = rl_history_search_internal
                      ((count ^ count >> 0x1f) - (count >> 0x1f),(uint)(count < 1) * 2 + -1);
    return iVar1;
  }
  iVar1 = rl_get_previous_history(count,ignore);
  return iVar1;
}



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

undefined4 rl_history_search_backward(int param_1,undefined4 param_2)

{
  undefined4 uVar1;
  
  if (param_1 == 0) {
    return 0;
  }
  if ((rl_last_func != rl_history_search_forward) && (rl_last_func != rl_history_search_backward)) {
    FUN_000ca650();
  }
  if (DAT_00151c4c != 0) {
    uVar1 = FUN_000cac90();
    return uVar1;
  }
  uVar1 = rl_get_previous_history(param_1,param_2);
  return uVar1;
}


PUSH EDI
PUSH ESI
PUSH EBX
MOV ESI,dword ptr [ESP + 0x10]
CALL 0x00031ed0
ADD EBX,0x7f104
MOV EDI,dword ptr [ESP + 0x14]
TEST ESI,ESI
JZ 0x000caf60
LEA EAX,[EBX + 0x7b40]
LEA EDX,[EBX + 0xfff81020]
MOV EAX,dword ptr [EAX]
CMP EAX,EDX
JZ 0x000caf30
LEA EDX,[EBX + 0xfff80ef0]
CMP EAX,EDX
JZ 0x000caf30
MOV EAX,0x1
CALL 0x000ca650
MOV EAX,dword ptr [EBX + 0x7c4c]
TEST EAX,EAX
JZ 0x000caf70
XOR EDX,EDX
MOV ECX,ESI
TEST ESI,ESI
MOV EAX,ESI
SETLE DL
SAR ECX,0x1f
POP EBX
POP ESI
XOR EAX,ECX
LEA EDX,[EDX + EDX*0x1 + -0x1]
POP EDI
SUB EAX,ECX
JMP 0x000cac90
POP EBX
XOR EAX,EAX
POP ESI
POP EDI
RET
SUB ESP,0x8
PUSH EDI
PUSH ESI
CALL 0x000e50e0
ADD ESP,0x10
POP EBX
POP ESI
POP EDI
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined4 rl_history_search_backward(int param_1,undefined4 param_2)\n\n{\n  undefined4 uVar1;\n  \n  if (param_1 == 0) {\n    return 0;\n  }\n  if ((rl_last_func != rl_history_search_forward) && (rl_last_func != rl_history_search_backward)) {\n    FUN_000ca650();\n  }\n  if (DAT_00151c4c != 0) {\n    uVar1 = FUN_000cac90();\n    return uVar1;\n  }\n  uVar1 = rl_get_previous_history(param_1,param_2);\n  return uVar1;\n}\n\n" comment (function_definition "undefined4 rl_history_search_backward(int param_1,undefined4 param_2)\n\n{\n  undefined4 uVar1;\n  \n  if (param_1 == 0) {\n    return 0;\n  }\n  if ((rl_last_func != rl_history_search_forward) && (rl_last_func != rl_history_search_backward)) {\n    FUN_000ca650();\n  }\n  if (DAT_00151c4c != 0) {\n    uVar1 = FUN_000cac90();\n    return uVar1;\n  }\n  uVar1 = rl_get_previous_history(param_1,param_2);\n  return uVar1;\n}" type_identifier (function_declarator "rl_history_search_backward(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  undefined4 uVar1;\n  \n  if (param_1 == 0) {\n    return 0;\n  }\n  if ((rl_last_func != rl_history_search_forward) && (rl_last_func != rl_history_search_backward)) {\n    FUN_000ca650();\n  }\n  if (DAT_00151c4c != 0) {\n    uVar1 = FUN_000cac90();\n    return uVar1;\n  }\n  uVar1 = rl_get_previous_history(param_1,param_2);\n  return uVar1;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (if_statement "if (param_1 == 0) {\n    return 0;\n  }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (if_statement "if ((rl_last_func != rl_history_search_forward) && (rl_last_func != rl_history_search_backward)) {\n    FUN_000ca650();\n  }" if (parenthesized_expression "((rl_last_func != rl_history_search_forward) && (rl_last_func != rl_history_search_backward))" ( (binary_expression "(rl_last_func != rl_history_search_forward) && (rl_last_func != rl_history_search_backward)" (parenthesized_expression "(rl_last_func != rl_history_search_forward)" ( (binary_expression "rl_last_func != rl_history_search_forward" identifier != identifier) )) && (parenthesized_expression "(rl_last_func != rl_history_search_backward)" ( (binary_expression "rl_last_func != rl_history_search_backward" identifier != identifier) ))) )) (compound_statement "{\n    FUN_000ca650();\n  }" { (expression_statement "FUN_000ca650();" (call_expression "FUN_000ca650()" identifier (argument_list "()" ( ))) ;) })) (if_statement "if (DAT_00151c4c != 0) {\n    uVar1 = FUN_000cac90();\n    return uVar1;\n  }" if (parenthesized_expression "(DAT_00151c4c != 0)" ( (binary_expression "DAT_00151c4c != 0" identifier != number_literal) )) (compound_statement "{\n    uVar1 = FUN_000cac90();\n    return uVar1;\n  }" { (expression_statement "uVar1 = FUN_000cac90();" (assignment_expression "uVar1 = FUN_000cac90()" identifier = (call_expression "FUN_000cac90()" identifier (argument_list "()" ( )))) ;) (return_statement "return uVar1;" return identifier ;) })) (expression_statement "uVar1 = rl_get_previous_history(param_1,param_2);" (assignment_expression "uVar1 = rl_get_previous_history(param_1,param_2)" identifier = (call_expression "rl_get_previous_history(param_1,param_2)" identifier (argument_list "(param_1,param_2)" ( identifier , identifier )))) ;) (return_statement "return uVar1;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nint rl_history_search_backward(int count,int ignore)\n\n{\n  int iVar1;\n  \n  if (count == 0) {\n    return 0;\n  }\n  if ((rl_last_func != rl_history_search_forward) && (rl_last_func != rl_history_search_backward)) {\n    rl_history_search_reinit(1);\n  }\n  if (rl_history_search_len != 0) {\n    iVar1 = rl_history_search_internal\n                      ((count ^ count >> 0x1f) - (count >> 0x1f),(uint)(count < 1) * 2 + -1);\n    return iVar1;\n  }\n  iVar1 = rl_get_previous_history(count,ignore);\n  return iVar1;\n}\n\n" comment (function_definition "int rl_history_search_backward(int count,int ignore)\n\n{\n  int iVar1;\n  \n  if (count == 0) {\n    return 0;\n  }\n  if ((rl_last_func != rl_history_search_forward) && (rl_last_func != rl_history_search_backward)) {\n    rl_history_search_reinit(1);\n  }\n  if (rl_history_search_len != 0) {\n    iVar1 = rl_history_search_internal\n                      ((count ^ count >> 0x1f) - (count >> 0x1f),(uint)(count < 1) * 2 + -1);\n    return iVar1;\n  }\n  iVar1 = rl_get_previous_history(count,ignore);\n  return iVar1;\n}" primitive_type (function_declarator "rl_history_search_backward(int count,int ignore)" identifier (parameter_list "(int count,int ignore)" ( (parameter_declaration "int count" primitive_type identifier) , (parameter_declaration "int ignore" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  if (count == 0) {\n    return 0;\n  }\n  if ((rl_last_func != rl_history_search_forward) && (rl_last_func != rl_history_search_backward)) {\n    rl_history_search_reinit(1);\n  }\n  if (rl_history_search_len != 0) {\n    iVar1 = rl_history_search_internal\n                      ((count ^ count >> 0x1f) - (count >> 0x1f),(uint)(count < 1) * 2 + -1);\n    return iVar1;\n  }\n  iVar1 = rl_get_previous_history(count,ignore);\n  return iVar1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (if_statement "if (count == 0) {\n    return 0;\n  }" if (parenthesized_expression "(count == 0)" ( (binary_expression "count == 0" identifier == number_literal) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (if_statement "if ((rl_last_func != rl_history_search_forward) && (rl_last_func != rl_history_search_backward)) {\n    rl_history_search_reinit(1);\n  }" if (parenthesized_expression "((rl_last_func != rl_history_search_forward) && (rl_last_func != rl_history_search_backward))" ( (binary_expression "(rl_last_func != rl_history_search_forward) && (rl_last_func != rl_history_search_backward)" (parenthesized_expression "(rl_last_func != rl_history_search_forward)" ( (binary_expression "rl_last_func != rl_history_search_forward" identifier != identifier) )) && (parenthesized_expression "(rl_last_func != rl_history_search_backward)" ( (binary_expression "rl_last_func != rl_history_search_backward" identifier != identifier) ))) )) (compound_statement "{\n    rl_history_search_reinit(1);\n  }" { (expression_statement "rl_history_search_reinit(1);" (call_expression "rl_history_search_reinit(1)" identifier (argument_list "(1)" ( number_literal ))) ;) })) (if_statement "if (rl_history_search_len != 0) {\n    iVar1 = rl_history_search_internal\n                      ((count ^ count >> 0x1f) - (count >> 0x1f),(uint)(count < 1) * 2 + -1);\n    return iVar1;\n  }" if (parenthesized_expression "(rl_history_search_len != 0)" ( (binary_expression "rl_history_search_len != 0" identifier != number_literal) )) (compound_statement "{\n    iVar1 = rl_history_search_internal\n                      ((count ^ count >> 0x1f) - (count >> 0x1f),(uint)(count < 1) * 2 + -1);\n    return iVar1;\n  }" { (expression_statement "iVar1 = rl_history_search_internal\n                      ((count ^ count >> 0x1f) - (count >> 0x1f),(uint)(count < 1) * 2 + -1);" (assignment_expression "iVar1 = rl_history_search_internal\n                      ((count ^ count >> 0x1f) - (count >> 0x1f),(uint)(count < 1) * 2 + -1)" identifier = (call_expression "rl_history_search_internal\n                      ((count ^ count >> 0x1f) - (count >> 0x1f),(uint)(count < 1) * 2 + -1)" identifier (argument_list "((count ^ count >> 0x1f) - (count >> 0x1f),(uint)(count < 1) * 2 + -1)" ( (binary_expression "(count ^ count >> 0x1f) - (count >> 0x1f)" (parenthesized_expression "(count ^ count >> 0x1f)" ( (binary_expression "count ^ count >> 0x1f" identifier ^ (binary_expression "count >> 0x1f" identifier >> number_literal)) )) - (parenthesized_expression "(count >> 0x1f)" ( (binary_expression "count >> 0x1f" identifier >> number_literal) ))) , (binary_expression "(uint)(count < 1) * 2 + -1" (binary_expression "(uint)(count < 1) * 2" (call_expression "(uint)(count < 1)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(count < 1)" ( (binary_expression "count < 1" identifier < number_literal) ))) * number_literal) + number_literal) )))) ;) (return_statement "return iVar1;" return identifier ;) })) (expression_statement "iVar1 = rl_get_previous_history(count,ignore);" (assignment_expression "iVar1 = rl_get_previous_history(count,ignore)" identifier = (call_expression "rl_get_previous_history(count,ignore)" identifier (argument_list "(count,ignore)" ( identifier , identifier )))) ;) (return_statement "return iVar1;" return identifier ;) })))
(translation_unit "undefined4 rl_history_search_backward(int param_1,undefined4 param_2)\n\n{\n  undefined4 uVar1;\n  \n  if (param_1 == 0) {\n    return 0;\n  }\n  if ((rl_last_func != rl_history_search_forward) && (rl_last_func != rl_history_search_backward)) {\n    FUN_000ca650();\n  }\n  if (DAT_00151c4c != 0) {\n    uVar1 = FUN_000cac90();\n    return uVar1;\n  }\n  uVar1 = rl_get_previous_history(param_1,param_2);\n  return uVar1;\n}\n\n" (function_definition "undefined4 rl_history_search_backward(int param_1,undefined4 param_2)\n\n{\n  undefined4 uVar1;\n  \n  if (param_1 == 0) {\n    return 0;\n  }\n  if ((rl_last_func != rl_history_search_forward) && (rl_last_func != rl_history_search_backward)) {\n    FUN_000ca650();\n  }\n  if (DAT_00151c4c != 0) {\n    uVar1 = FUN_000cac90();\n    return uVar1;\n  }\n  uVar1 = rl_get_previous_history(param_1,param_2);\n  return uVar1;\n}" type_identifier (function_declarator "rl_history_search_backward(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  undefined4 uVar1;\n  \n  if (param_1 == 0) {\n    return 0;\n  }\n  if ((rl_last_func != rl_history_search_forward) && (rl_last_func != rl_history_search_backward)) {\n    FUN_000ca650();\n  }\n  if (DAT_00151c4c != 0) {\n    uVar1 = FUN_000cac90();\n    return uVar1;\n  }\n  uVar1 = rl_get_previous_history(param_1,param_2);\n  return uVar1;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (if_statement "if (param_1 == 0) {\n    return 0;\n  }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (if_statement "if ((rl_last_func != rl_history_search_forward) && (rl_last_func != rl_history_search_backward)) {\n    FUN_000ca650();\n  }" if (parenthesized_expression "((rl_last_func != rl_history_search_forward) && (rl_last_func != rl_history_search_backward))" ( (binary_expression "(rl_last_func != rl_history_search_forward) && (rl_last_func != rl_history_search_backward)" (parenthesized_expression "(rl_last_func != rl_history_search_forward)" ( (binary_expression "rl_last_func != rl_history_search_forward" identifier != identifier) )) && (parenthesized_expression "(rl_last_func != rl_history_search_backward)" ( (binary_expression "rl_last_func != rl_history_search_backward" identifier != identifier) ))) )) (compound_statement "{\n    FUN_000ca650();\n  }" { (expression_statement "FUN_000ca650();" (call_expression "FUN_000ca650()" identifier (argument_list "()" ( ))) ;) })) (if_statement "if (DAT_00151c4c != 0) {\n    uVar1 = FUN_000cac90();\n    return uVar1;\n  }" if (parenthesized_expression "(DAT_00151c4c != 0)" ( (binary_expression "DAT_00151c4c != 0" identifier != number_literal) )) (compound_statement "{\n    uVar1 = FUN_000cac90();\n    return uVar1;\n  }" { (expression_statement "uVar1 = FUN_000cac90();" (assignment_expression "uVar1 = FUN_000cac90()" identifier = (call_expression "FUN_000cac90()" identifier (argument_list "()" ( )))) ;) (return_statement "return uVar1;" return identifier ;) })) (expression_statement "uVar1 = rl_get_previous_history(param_1,param_2);" (assignment_expression "uVar1 = rl_get_previous_history(param_1,param_2)" identifier = (call_expression "rl_get_previous_history(param_1,param_2)" identifier (argument_list "(param_1,param_2)" ( identifier , identifier )))) ;) (return_statement "return uVar1;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return LIT ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != IDENT) )) && (parenthesized_expression ( (binary_expression IDENT != IDENT) ))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (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 ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (return_statement return IDENT ;) })))
(function_definition "undefined4 rl_history_search_backward(int param_1,undefined4 param_2)\n\n{\n  undefined4 uVar1;\n  \n  if (param_1 == 0) {\n    return 0;\n  }\n  if ((rl_last_func != rl_history_search_forward) && (rl_last_func != rl_history_search_backward)) {\n    FUN_000ca650();\n  }\n  if (DAT_00151c4c != 0) {\n    uVar1 = FUN_000cac90();\n    return uVar1;\n  }\n  uVar1 = rl_get_previous_history(param_1,param_2);\n  return uVar1;\n}" (type_identifier "undefined4") (function_declarator "rl_history_search_backward(int param_1,undefined4 param_2)" (identifier "rl_history_search_backward") (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  undefined4 uVar1;\n  \n  if (param_1 == 0) {\n    return 0;\n  }\n  if ((rl_last_func != rl_history_search_forward) && (rl_last_func != rl_history_search_backward)) {\n    FUN_000ca650();\n  }\n  if (DAT_00151c4c != 0) {\n    uVar1 = FUN_000cac90();\n    return uVar1;\n  }\n  uVar1 = rl_get_previous_history(param_1,param_2);\n  return uVar1;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (if_statement "if (param_1 == 0) {\n    return 0;\n  }" (if "if") (parenthesized_expression "(param_1 == 0)" (( "(") (binary_expression "param_1 == 0" (identifier "param_1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    return 0;\n  }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (if_statement "if ((rl_last_func != rl_history_search_forward) && (rl_last_func != rl_history_search_backward)) {\n    FUN_000ca650();\n  }" (if "if") (parenthesized_expression "((rl_last_func != rl_history_search_forward) && (rl_last_func != rl_history_search_backward))" (( "(") (binary_expression "(rl_last_func != rl_history_search_forward) && (rl_last_func != rl_history_search_backward)" (parenthesized_expression "(rl_last_func != rl_history_search_forward)" (( "(") (binary_expression "rl_last_func != rl_history_search_forward" (identifier "rl_last_func") (!= "!=") (identifier "rl_history_search_forward")) () ")")) (&& "&&") (parenthesized_expression "(rl_last_func != rl_history_search_backward)" (( "(") (binary_expression "rl_last_func != rl_history_search_backward" (identifier "rl_last_func") (!= "!=") (identifier "rl_history_search_backward")) () ")"))) () ")")) (compound_statement "{\n    FUN_000ca650();\n  }" ({ "{") (expression_statement "FUN_000ca650();" (call_expression "FUN_000ca650()" (identifier "FUN_000ca650") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (if_statement "if (DAT_00151c4c != 0) {\n    uVar1 = FUN_000cac90();\n    return uVar1;\n  }" (if "if") (parenthesized_expression "(DAT_00151c4c != 0)" (( "(") (binary_expression "DAT_00151c4c != 0" (identifier "DAT_00151c4c") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    uVar1 = FUN_000cac90();\n    return uVar1;\n  }" ({ "{") (expression_statement "uVar1 = FUN_000cac90();" (assignment_expression "uVar1 = FUN_000cac90()" (identifier "uVar1") (= "=") (call_expression "FUN_000cac90()" (identifier "FUN_000cac90") (argument_list "()" (( "(") () ")")))) (; ";")) (return_statement "return uVar1;" (return "return") (identifier "uVar1") (; ";")) (} "}"))) (expression_statement "uVar1 = rl_get_previous_history(param_1,param_2);" (assignment_expression "uVar1 = rl_get_previous_history(param_1,param_2)" (identifier "uVar1") (= "=") (call_expression "rl_get_previous_history(param_1,param_2)" (identifier "rl_get_previous_history") (argument_list "(param_1,param_2)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") () ")")))) (; ";")) (return_statement "return uVar1;" (return "return") (identifier "uVar1") (; ";")) (} "}")))

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

int function_1(int var_1,int ignore)

{
  int iVar1;
  
  if (var_1 == 0) {
    return 0;
  }
  if ((var_2 != var_3) && (var_2 != function_1)) {
    var_4(1);
  }
  if (var_5 != 0) {
    iVar1 = var_6
                      ((var_1 ^ var_1 >> 0x1f) - (var_1 >> 0x1f),(uint)(var_1 < 1) * 2 + -1);
    return iVar1;
  }
  iVar1 = var_7(var_1,ignore);
  return iVar1;
}


(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: (type_identifier) declarator: (identifier)) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) right: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list))))) (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)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier))))) (return_statement (identifier)))))

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

undefined4 MASKED(int param_1,undefined4 param_2)

{
  undefined4 uVar1;
  
  if (param_1 == 0) {
    return 0;
  }
  if ((rl_last_func != rl_history_search_forward) && (rl_last_func != MASKED)) {
    FUN_000ca650();
  }
  if (DAT_00151c4c != 0) {
    uVar1 = FUN_000cac90();
    return uVar1;
  }
  uVar1 = rl_get_previous_history(param_1,param_2);
  return uVar1;
}

