
int rl_vi_subst(int count,int key)

{
  int iVar1;
  
  if (*(int *)PTR__rl_vi_redoing_00145c68 == 0) {
    iVar1 = 99;
    if (key != 0x53) {
      iVar1 = 0x6c;
    }
    rl_stuff_char(iVar1);
  }
  iVar1 = rl_vi_change_to(count,99);
  return iVar1;
}



void rl_vi_subst(undefined4 param_1,int param_2)

{
  undefined4 uVar1;
  
  if (*(int *)PTR__rl_vi_redoing_00145c68 == 0) {
    uVar1 = 99;
    if (param_2 != 0x53) {
      uVar1 = 0x6c;
    }
    rl_stuff_char(uVar1);
  }
  rl_vi_change_to(param_1,99);
  return;
}


lui gp,0x6
addiu gp,gp,0x4bc0
addu gp,gp,t9
lw v0,-0x68d8(gp)
addiu sp,sp,-0x20
sw gp,0x10(sp)
sw s0,0x18(sp)
sw ra,0x1c(sp)
lw v0,0x0(v0)
bne v0,zero,0x000e79c8
_or s0,a0,zero
li v0,0x6c
lw t9,-0x67d4(gp)
li a0,0x63
xori a1,a1,0x53
bal 0x00102a7c
_movn a0,v0,a1
lw gp,0x10(sp)
lw ra,0x1c(sp)
or a0,s0,zero
lw t9,-0x672c(gp)
li a1,0x63
lw s0,0x18(sp)
b 0x000e5e48
_addiu sp,sp,0x20
(translation_unit "void rl_vi_subst(undefined4 param_1,int param_2)\n\n{\n  undefined4 uVar1;\n  \n  if (*(int *)PTR__rl_vi_redoing_00145c68 == 0) {\n    uVar1 = 99;\n    if (param_2 != 0x53) {\n      uVar1 = 0x6c;\n    }\n    rl_stuff_char(uVar1);\n  }\n  rl_vi_change_to(param_1,99);\n  return;\n}\n\n" (function_definition "void rl_vi_subst(undefined4 param_1,int param_2)\n\n{\n  undefined4 uVar1;\n  \n  if (*(int *)PTR__rl_vi_redoing_00145c68 == 0) {\n    uVar1 = 99;\n    if (param_2 != 0x53) {\n      uVar1 = 0x6c;\n    }\n    rl_stuff_char(uVar1);\n  }\n  rl_vi_change_to(param_1,99);\n  return;\n}" primitive_type (function_declarator "rl_vi_subst(undefined4 param_1,int param_2)" identifier (parameter_list "(undefined4 param_1,int param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  if (*(int *)PTR__rl_vi_redoing_00145c68 == 0) {\n    uVar1 = 99;\n    if (param_2 != 0x53) {\n      uVar1 = 0x6c;\n    }\n    rl_stuff_char(uVar1);\n  }\n  rl_vi_change_to(param_1,99);\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (if_statement "if (*(int *)PTR__rl_vi_redoing_00145c68 == 0) {\n    uVar1 = 99;\n    if (param_2 != 0x53) {\n      uVar1 = 0x6c;\n    }\n    rl_stuff_char(uVar1);\n  }" if (parenthesized_expression "(*(int *)PTR__rl_vi_redoing_00145c68 == 0)" ( (binary_expression "*(int *)PTR__rl_vi_redoing_00145c68 == 0" (pointer_expression "*(int *)PTR__rl_vi_redoing_00145c68" * (cast_expression "(int *)PTR__rl_vi_redoing_00145c68" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) == number_literal) )) (compound_statement "{\n    uVar1 = 99;\n    if (param_2 != 0x53) {\n      uVar1 = 0x6c;\n    }\n    rl_stuff_char(uVar1);\n  }" { (expression_statement "uVar1 = 99;" (assignment_expression "uVar1 = 99" identifier = number_literal) ;) (if_statement "if (param_2 != 0x53) {\n      uVar1 = 0x6c;\n    }" if (parenthesized_expression "(param_2 != 0x53)" ( (binary_expression "param_2 != 0x53" identifier != number_literal) )) (compound_statement "{\n      uVar1 = 0x6c;\n    }" { (expression_statement "uVar1 = 0x6c;" (assignment_expression "uVar1 = 0x6c" identifier = number_literal) ;) })) (expression_statement "rl_stuff_char(uVar1);" (call_expression "rl_stuff_char(uVar1)" identifier (argument_list "(uVar1)" ( identifier ))) ;) })) (expression_statement "rl_vi_change_to(param_1,99);" (call_expression "rl_vi_change_to(param_1,99)" identifier (argument_list "(param_1,99)" ( identifier , number_literal ))) ;) (return_statement "return;" return ;) })))
(translation_unit "int rl_vi_subst(int count,int key)\n\n{\n  int iVar1;\n  \n  if (*(int *)PTR__rl_vi_redoing_00145c68 == 0) {\n    iVar1 = 99;\n    if (key != 0x53) {\n      iVar1 = 0x6c;\n    }\n    rl_stuff_char(iVar1);\n  }\n  iVar1 = rl_vi_change_to(count,99);\n  return iVar1;\n}\n\n" (function_definition "int rl_vi_subst(int count,int key)\n\n{\n  int iVar1;\n  \n  if (*(int *)PTR__rl_vi_redoing_00145c68 == 0) {\n    iVar1 = 99;\n    if (key != 0x53) {\n      iVar1 = 0x6c;\n    }\n    rl_stuff_char(iVar1);\n  }\n  iVar1 = rl_vi_change_to(count,99);\n  return iVar1;\n}" primitive_type (function_declarator "rl_vi_subst(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  int iVar1;\n  \n  if (*(int *)PTR__rl_vi_redoing_00145c68 == 0) {\n    iVar1 = 99;\n    if (key != 0x53) {\n      iVar1 = 0x6c;\n    }\n    rl_stuff_char(iVar1);\n  }\n  iVar1 = rl_vi_change_to(count,99);\n  return iVar1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (if_statement "if (*(int *)PTR__rl_vi_redoing_00145c68 == 0) {\n    iVar1 = 99;\n    if (key != 0x53) {\n      iVar1 = 0x6c;\n    }\n    rl_stuff_char(iVar1);\n  }" if (parenthesized_expression "(*(int *)PTR__rl_vi_redoing_00145c68 == 0)" ( (binary_expression "*(int *)PTR__rl_vi_redoing_00145c68 == 0" (pointer_expression "*(int *)PTR__rl_vi_redoing_00145c68" * (cast_expression "(int *)PTR__rl_vi_redoing_00145c68" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) == number_literal) )) (compound_statement "{\n    iVar1 = 99;\n    if (key != 0x53) {\n      iVar1 = 0x6c;\n    }\n    rl_stuff_char(iVar1);\n  }" { (expression_statement "iVar1 = 99;" (assignment_expression "iVar1 = 99" identifier = number_literal) ;) (if_statement "if (key != 0x53) {\n      iVar1 = 0x6c;\n    }" if (parenthesized_expression "(key != 0x53)" ( (binary_expression "key != 0x53" identifier != number_literal) )) (compound_statement "{\n      iVar1 = 0x6c;\n    }" { (expression_statement "iVar1 = 0x6c;" (assignment_expression "iVar1 = 0x6c" identifier = number_literal) ;) })) (expression_statement "rl_stuff_char(iVar1);" (call_expression "rl_stuff_char(iVar1)" identifier (argument_list "(iVar1)" ( identifier ))) ;) })) (expression_statement "iVar1 = rl_vi_change_to(count,99);" (assignment_expression "iVar1 = rl_vi_change_to(count,99)" identifier = (call_expression "rl_vi_change_to(count,99)" identifier (argument_list "(count,99)" ( identifier , number_literal )))) ;) (return_statement "return iVar1;" return identifier ;) })))
(translation_unit "void rl_vi_subst(undefined4 param_1,int param_2)\n\n{\n  undefined4 uVar1;\n  \n  if (*(int *)PTR__rl_vi_redoing_00145c68 == 0) {\n    uVar1 = 99;\n    if (param_2 != 0x53) {\n      uVar1 = 0x6c;\n    }\n    rl_stuff_char(uVar1);\n  }\n  rl_vi_change_to(param_1,99);\n  return;\n}\n\n" (function_definition "void rl_vi_subst(undefined4 param_1,int param_2)\n\n{\n  undefined4 uVar1;\n  \n  if (*(int *)PTR__rl_vi_redoing_00145c68 == 0) {\n    uVar1 = 99;\n    if (param_2 != 0x53) {\n      uVar1 = 0x6c;\n    }\n    rl_stuff_char(uVar1);\n  }\n  rl_vi_change_to(param_1,99);\n  return;\n}" primitive_type (function_declarator "rl_vi_subst(undefined4 param_1,int param_2)" identifier (parameter_list "(undefined4 param_1,int param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  if (*(int *)PTR__rl_vi_redoing_00145c68 == 0) {\n    uVar1 = 99;\n    if (param_2 != 0x53) {\n      uVar1 = 0x6c;\n    }\n    rl_stuff_char(uVar1);\n  }\n  rl_vi_change_to(param_1,99);\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (if_statement "if (*(int *)PTR__rl_vi_redoing_00145c68 == 0) {\n    uVar1 = 99;\n    if (param_2 != 0x53) {\n      uVar1 = 0x6c;\n    }\n    rl_stuff_char(uVar1);\n  }" if (parenthesized_expression "(*(int *)PTR__rl_vi_redoing_00145c68 == 0)" ( (binary_expression "*(int *)PTR__rl_vi_redoing_00145c68 == 0" (pointer_expression "*(int *)PTR__rl_vi_redoing_00145c68" * (cast_expression "(int *)PTR__rl_vi_redoing_00145c68" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) == number_literal) )) (compound_statement "{\n    uVar1 = 99;\n    if (param_2 != 0x53) {\n      uVar1 = 0x6c;\n    }\n    rl_stuff_char(uVar1);\n  }" { (expression_statement "uVar1 = 99;" (assignment_expression "uVar1 = 99" identifier = number_literal) ;) (if_statement "if (param_2 != 0x53) {\n      uVar1 = 0x6c;\n    }" if (parenthesized_expression "(param_2 != 0x53)" ( (binary_expression "param_2 != 0x53" identifier != number_literal) )) (compound_statement "{\n      uVar1 = 0x6c;\n    }" { (expression_statement "uVar1 = 0x6c;" (assignment_expression "uVar1 = 0x6c" identifier = number_literal) ;) })) (expression_statement "rl_stuff_char(uVar1);" (call_expression "rl_stuff_char(uVar1)" identifier (argument_list "(uVar1)" ( identifier ))) ;) })) (expression_statement "rl_vi_change_to(param_1,99);" (call_expression "rl_vi_change_to(param_1,99)" identifier (argument_list "(param_1,99)" ( identifier , number_literal ))) ;) (return_statement "return;" return ;) })))
(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 (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT ))) ;) (return_statement return ;) })))
(function_definition "void rl_vi_subst(undefined4 param_1,int param_2)\n\n{\n  undefined4 uVar1;\n  \n  if (*(int *)PTR__rl_vi_redoing_00145c68 == 0) {\n    uVar1 = 99;\n    if (param_2 != 0x53) {\n      uVar1 = 0x6c;\n    }\n    rl_stuff_char(uVar1);\n  }\n  rl_vi_change_to(param_1,99);\n  return;\n}" (primitive_type "void") (function_declarator "rl_vi_subst(undefined4 param_1,int param_2)" (identifier "rl_vi_subst") (parameter_list "(undefined4 param_1,int param_2)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  \n  if (*(int *)PTR__rl_vi_redoing_00145c68 == 0) {\n    uVar1 = 99;\n    if (param_2 != 0x53) {\n      uVar1 = 0x6c;\n    }\n    rl_stuff_char(uVar1);\n  }\n  rl_vi_change_to(param_1,99);\n  return;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (if_statement "if (*(int *)PTR__rl_vi_redoing_00145c68 == 0) {\n    uVar1 = 99;\n    if (param_2 != 0x53) {\n      uVar1 = 0x6c;\n    }\n    rl_stuff_char(uVar1);\n  }" (if "if") (parenthesized_expression "(*(int *)PTR__rl_vi_redoing_00145c68 == 0)" (( "(") (binary_expression "*(int *)PTR__rl_vi_redoing_00145c68 == 0" (pointer_expression "*(int *)PTR__rl_vi_redoing_00145c68" (* "*") (cast_expression "(int *)PTR__rl_vi_redoing_00145c68" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR__rl_vi_redoing_00145c68"))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    uVar1 = 99;\n    if (param_2 != 0x53) {\n      uVar1 = 0x6c;\n    }\n    rl_stuff_char(uVar1);\n  }" ({ "{") (expression_statement "uVar1 = 99;" (assignment_expression "uVar1 = 99" (identifier "uVar1") (= "=") (number_literal "99")) (; ";")) (if_statement "if (param_2 != 0x53) {\n      uVar1 = 0x6c;\n    }" (if "if") (parenthesized_expression "(param_2 != 0x53)" (( "(") (binary_expression "param_2 != 0x53" (identifier "param_2") (!= "!=") (number_literal "0x53")) () ")")) (compound_statement "{\n      uVar1 = 0x6c;\n    }" ({ "{") (expression_statement "uVar1 = 0x6c;" (assignment_expression "uVar1 = 0x6c" (identifier "uVar1") (= "=") (number_literal "0x6c")) (; ";")) (} "}"))) (expression_statement "rl_stuff_char(uVar1);" (call_expression "rl_stuff_char(uVar1)" (identifier "rl_stuff_char") (argument_list "(uVar1)" (( "(") (identifier "uVar1") () ")"))) (; ";")) (} "}"))) (expression_statement "rl_vi_change_to(param_1,99);" (call_expression "rl_vi_change_to(param_1,99)" (identifier "rl_vi_change_to") (argument_list "(param_1,99)" (( "(") (identifier "param_1") (, ",") (number_literal "99") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

int function_1(int count,int var_1)

{
  int iVar1;
  
  if (*(int *)PTR__rl_vi_redoing_00145c68 == 0) {
    iVar1 = 99;
    if (var_1 != 0x53) {
      iVar1 = 0x6c;
    }
    var_2(iVar1);
  }
  iVar1 = var_3(count,99);
  return iVar1;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal)))) (return_statement))))

void MASKED(undefined4 param_1,int param_2)

{
  undefined4 uVar1;
  
  if (*(int *)PTR__rl_vi_redoing_00145c68 == 0) {
    uVar1 = 99;
    if (param_2 != 0x53) {
      uVar1 = 0x6c;
    }
    rl_stuff_char(uVar1);
  }
  rl_vi_change_to(param_1,99);
  return;
}

