
int rl_modifying(int start,int end)

{
  bool bVar1;
  undefined *puVar2;
  undefined *puVar3;
  char *pcVar4;
  undefined4 *puVar5;
  undefined4 uVar6;
  int to;
  
  puVar3 = PTR_rl_undo_list_00145c1c;
  to = start;
  if ((start <= end) && (bVar1 = start == end, to = end, end = start, bVar1)) {
    return 0;
  }
  pcVar4 = rl_copy_text(end,to);
  rl_begin_undo_group();
  puVar5 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(0x14);
  uVar6 = *(undefined4 *)puVar3;
  puVar5[1] = end;
  puVar5[2] = to;
  *puVar5 = uVar6;
  puVar5[3] = pcVar4;
  *(undefined4 **)puVar3 = puVar5;
  puVar2 = PTR_xmalloc_001445b0;
  puVar5[4] = 0;
  puVar5 = (undefined4 *)(*(code *)puVar2)(0x14);
  uVar6 = *(undefined4 *)puVar3;
  puVar5[4] = 1;
  puVar5[1] = end;
  *puVar5 = uVar6;
  puVar5[2] = to;
  *(undefined4 **)puVar3 = puVar5;
  puVar5[3] = 0;
  rl_end_undo_group();
  return 0;
}



undefined4 rl_modifying(int param_1,int param_2)

{
  undefined *puVar1;
  undefined *puVar2;
  undefined4 uVar3;
  undefined4 *puVar4;
  undefined4 uVar5;
  int iVar6;
  int iVar7;
  
  puVar2 = PTR_rl_undo_list_00145c1c;
  iVar6 = param_1;
  iVar7 = param_2;
  if ((param_1 <= param_2) && (iVar6 = param_2, iVar7 = param_1, param_1 == param_2)) {
    return 0;
  }
  uVar3 = rl_copy_text(iVar7,iVar6);
  rl_begin_undo_group();
  puVar4 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(0x14);
  uVar5 = *(undefined4 *)puVar2;
  puVar4[1] = iVar7;
  puVar4[2] = iVar6;
  *puVar4 = uVar5;
  puVar4[3] = uVar3;
  *(undefined4 **)puVar2 = puVar4;
  puVar1 = PTR_xmalloc_001445b0;
  puVar4[4] = 0;
  puVar4 = (undefined4 *)(*(code *)puVar1)(0x14);
  uVar3 = *(undefined4 *)puVar2;
  puVar4[4] = 1;
  puVar4[1] = iVar7;
  *puVar4 = uVar3;
  puVar4[2] = iVar6;
  *(undefined4 **)puVar2 = puVar4;
  puVar4[3] = 0;
  rl_end_undo_group();
  return 0;
}


lui gp,0x5
addiu gp,gp,-0x5380
addu gp,gp,t9
addiu sp,sp,-0x30
slt v0,a1,a0
sw gp,0x10(sp)
sw s1,0x20(sp)
or s1,a1,zero
sw s0,0x1c(sp)
or s0,a0,zero
sw ra,0x2c(sp)
sw s3,0x28(sp)
bne v0,zero,0x00101924
_sw s2,0x24(sp)
bne a0,a1,0x0010191c
_lw ra,0x2c(sp)
or v0,zero,zero
lw s3,0x28(sp)
lw s2,0x24(sp)
lw s1,0x20(sp)
lw s0,0x1c(sp)
jr ra
_addiu sp,sp,0x30
or s1,a0,zero
or s0,a1,zero
lw t9,-0x65f8(gp)
or a1,s0,zero
lw s2,-0x6924(gp)
bal 0x000ff280
_or a0,s1,zero
lw gp,0x10(sp)
lw t9,-0x67ec(gp)
bal 0x001017e0
_or s3,v0,zero
lw gp,0x10(sp)
lw t9,-0x7f90(gp)
jalr t9
_li a0,0x14
li a0,0x14
lw gp,0x10(sp)
lw v1,0x0(s2)
sw s1,0x4(v0)
sw s0,0x8(v0)
sw v1,0x0(v0)
sw s3,0xc(v0)
sw v0,0x0(s2)
lw t9,-0x7f90(gp)
jalr t9
_sw zero,0x10(v0)
li a0,0x1
lw gp,0x10(sp)
lw v1,0x0(s2)
sw a0,0x10(v0)
sw s1,0x4(v0)
sw v1,0x0(v0)
sw s0,0x8(v0)
sw v0,0x0(s2)
lw t9,-0x67e8(gp)
bal 0x00101850
_sw zero,0xc(v0)
or v0,zero,zero
lw ra,0x2c(sp)
lw s3,0x28(sp)
lw s2,0x24(sp)
lw s1,0x20(sp)
lw s0,0x1c(sp)
jr ra
_addiu sp,sp,0x30
(translation_unit "undefined4 rl_modifying(int param_1,int param_2)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  undefined4 uVar3;\n  undefined4 *puVar4;\n  undefined4 uVar5;\n  int iVar6;\n  int iVar7;\n  \n  puVar2 = PTR_rl_undo_list_00145c1c;\n  iVar6 = param_1;\n  iVar7 = param_2;\n  if ((param_1 <= param_2) && (iVar6 = param_2, iVar7 = param_1, param_1 == param_2)) {\n    return 0;\n  }\n  uVar3 = rl_copy_text(iVar7,iVar6);\n  rl_begin_undo_group();\n  puVar4 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(0x14);\n  uVar5 = *(undefined4 *)puVar2;\n  puVar4[1] = iVar7;\n  puVar4[2] = iVar6;\n  *puVar4 = uVar5;\n  puVar4[3] = uVar3;\n  *(undefined4 **)puVar2 = puVar4;\n  puVar1 = PTR_xmalloc_001445b0;\n  puVar4[4] = 0;\n  puVar4 = (undefined4 *)(*(code *)puVar1)(0x14);\n  uVar3 = *(undefined4 *)puVar2;\n  puVar4[4] = 1;\n  puVar4[1] = iVar7;\n  *puVar4 = uVar3;\n  puVar4[2] = iVar6;\n  *(undefined4 **)puVar2 = puVar4;\n  puVar4[3] = 0;\n  rl_end_undo_group();\n  return 0;\n}\n\n" (function_definition "undefined4 rl_modifying(int param_1,int param_2)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  undefined4 uVar3;\n  undefined4 *puVar4;\n  undefined4 uVar5;\n  int iVar6;\n  int iVar7;\n  \n  puVar2 = PTR_rl_undo_list_00145c1c;\n  iVar6 = param_1;\n  iVar7 = param_2;\n  if ((param_1 <= param_2) && (iVar6 = param_2, iVar7 = param_1, param_1 == param_2)) {\n    return 0;\n  }\n  uVar3 = rl_copy_text(iVar7,iVar6);\n  rl_begin_undo_group();\n  puVar4 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(0x14);\n  uVar5 = *(undefined4 *)puVar2;\n  puVar4[1] = iVar7;\n  puVar4[2] = iVar6;\n  *puVar4 = uVar5;\n  puVar4[3] = uVar3;\n  *(undefined4 **)puVar2 = puVar4;\n  puVar1 = PTR_xmalloc_001445b0;\n  puVar4[4] = 0;\n  puVar4 = (undefined4 *)(*(code *)puVar1)(0x14);\n  uVar3 = *(undefined4 *)puVar2;\n  puVar4[4] = 1;\n  puVar4[1] = iVar7;\n  *puVar4 = uVar3;\n  puVar4[2] = iVar6;\n  *(undefined4 **)puVar2 = puVar4;\n  puVar4[3] = 0;\n  rl_end_undo_group();\n  return 0;\n}" type_identifier (function_declarator "rl_modifying(int param_1,int param_2)" identifier (parameter_list "(int param_1,int param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  undefined *puVar2;\n  undefined4 uVar3;\n  undefined4 *puVar4;\n  undefined4 uVar5;\n  int iVar6;\n  int iVar7;\n  \n  puVar2 = PTR_rl_undo_list_00145c1c;\n  iVar6 = param_1;\n  iVar7 = param_2;\n  if ((param_1 <= param_2) && (iVar6 = param_2, iVar7 = param_1, param_1 == param_2)) {\n    return 0;\n  }\n  uVar3 = rl_copy_text(iVar7,iVar6);\n  rl_begin_undo_group();\n  puVar4 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(0x14);\n  uVar5 = *(undefined4 *)puVar2;\n  puVar4[1] = iVar7;\n  puVar4[2] = iVar6;\n  *puVar4 = uVar5;\n  puVar4[3] = uVar3;\n  *(undefined4 **)puVar2 = puVar4;\n  puVar1 = PTR_xmalloc_001445b0;\n  puVar4[4] = 0;\n  puVar4 = (undefined4 *)(*(code *)puVar1)(0x14);\n  uVar3 = *(undefined4 *)puVar2;\n  puVar4[4] = 1;\n  puVar4[1] = iVar7;\n  *puVar4 = uVar3;\n  puVar4[2] = iVar6;\n  *(undefined4 **)puVar2 = puVar4;\n  puVar4[3] = 0;\n  rl_end_undo_group();\n  return 0;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (expression_statement "puVar2 = PTR_rl_undo_list_00145c1c;" (assignment_expression "puVar2 = PTR_rl_undo_list_00145c1c" identifier = identifier) ;) (expression_statement "iVar6 = param_1;" (assignment_expression "iVar6 = param_1" identifier = identifier) ;) (expression_statement "iVar7 = param_2;" (assignment_expression "iVar7 = param_2" identifier = identifier) ;) (if_statement "if ((param_1 <= param_2) && (iVar6 = param_2, iVar7 = param_1, param_1 == param_2)) {\n    return 0;\n  }" if (parenthesized_expression "((param_1 <= param_2) && (iVar6 = param_2, iVar7 = param_1, param_1 == param_2))" ( (binary_expression "(param_1 <= param_2) && (iVar6 = param_2, iVar7 = param_1, param_1 == param_2)" (parenthesized_expression "(param_1 <= param_2)" ( (binary_expression "param_1 <= param_2" identifier <= identifier) )) && (parenthesized_expression "(iVar6 = param_2, iVar7 = param_1, param_1 == param_2)" ( (comma_expression "iVar6 = param_2, iVar7 = param_1, param_1 == param_2" (assignment_expression "iVar6 = param_2" identifier = identifier) , (comma_expression "iVar7 = param_1, param_1 == param_2" (assignment_expression "iVar7 = param_1" identifier = identifier) , (binary_expression "param_1 == param_2" identifier == identifier))) ))) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "uVar3 = rl_copy_text(iVar7,iVar6);" (assignment_expression "uVar3 = rl_copy_text(iVar7,iVar6)" identifier = (call_expression "rl_copy_text(iVar7,iVar6)" identifier (argument_list "(iVar7,iVar6)" ( identifier , identifier )))) ;) (expression_statement "rl_begin_undo_group();" (call_expression "rl_begin_undo_group()" identifier (argument_list "()" ( ))) ;) (expression_statement "puVar4 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(0x14);" (assignment_expression "puVar4 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(0x14)" identifier = (cast_expression "(undefined4 *)(*(code *)PTR_xmalloc_001445b0)(0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_xmalloc_001445b0)(0x14)" (parenthesized_expression "(*(code *)PTR_xmalloc_001445b0)" ( (pointer_expression "*(code *)PTR_xmalloc_001445b0" * (cast_expression "(code *)PTR_xmalloc_001445b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0x14)" ( number_literal ))))) ;) (expression_statement "uVar5 = *(undefined4 *)puVar2;" (assignment_expression "uVar5 = *(undefined4 *)puVar2" identifier = (pointer_expression "*(undefined4 *)puVar2" * (cast_expression "(undefined4 *)puVar2" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "puVar4[1] = iVar7;" (assignment_expression "puVar4[1] = iVar7" (subscript_expression "puVar4[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar4[2] = iVar6;" (assignment_expression "puVar4[2] = iVar6" (subscript_expression "puVar4[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*puVar4 = uVar5;" (assignment_expression "*puVar4 = uVar5" (pointer_expression "*puVar4" * identifier) = identifier) ;) (expression_statement "puVar4[3] = uVar3;" (assignment_expression "puVar4[3] = uVar3" (subscript_expression "puVar4[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*(undefined4 **)puVar2 = puVar4;" (assignment_expression "*(undefined4 **)puVar2 = puVar4" (pointer_expression "*(undefined4 **)puVar2" * (cast_expression "(undefined4 **)puVar2" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) = identifier) ;) (expression_statement "puVar1 = PTR_xmalloc_001445b0;" (assignment_expression "puVar1 = PTR_xmalloc_001445b0" identifier = identifier) ;) (expression_statement "puVar4[4] = 0;" (assignment_expression "puVar4[4] = 0" (subscript_expression "puVar4[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar4 = (undefined4 *)(*(code *)puVar1)(0x14);" (assignment_expression "puVar4 = (undefined4 *)(*(code *)puVar1)(0x14)" identifier = (cast_expression "(undefined4 *)(*(code *)puVar1)(0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)puVar1)(0x14)" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0x14)" ( number_literal ))))) ;) (expression_statement "uVar3 = *(undefined4 *)puVar2;" (assignment_expression "uVar3 = *(undefined4 *)puVar2" identifier = (pointer_expression "*(undefined4 *)puVar2" * (cast_expression "(undefined4 *)puVar2" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "puVar4[4] = 1;" (assignment_expression "puVar4[4] = 1" (subscript_expression "puVar4[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar4[1] = iVar7;" (assignment_expression "puVar4[1] = iVar7" (subscript_expression "puVar4[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*puVar4 = uVar3;" (assignment_expression "*puVar4 = uVar3" (pointer_expression "*puVar4" * identifier) = identifier) ;) (expression_statement "puVar4[2] = iVar6;" (assignment_expression "puVar4[2] = iVar6" (subscript_expression "puVar4[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*(undefined4 **)puVar2 = puVar4;" (assignment_expression "*(undefined4 **)puVar2 = puVar4" (pointer_expression "*(undefined4 **)puVar2" * (cast_expression "(undefined4 **)puVar2" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) = identifier) ;) (expression_statement "puVar4[3] = 0;" (assignment_expression "puVar4[3] = 0" (subscript_expression "puVar4[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "rl_end_undo_group();" (call_expression "rl_end_undo_group()" identifier (argument_list "()" ( ))) ;) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "int rl_modifying(int start,int end)\n\n{\n  bool bVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  char *pcVar4;\n  undefined4 *puVar5;\n  undefined4 uVar6;\n  int to;\n  \n  puVar3 = PTR_rl_undo_list_00145c1c;\n  to = start;\n  if ((start <= end) && (bVar1 = start == end, to = end, end = start, bVar1)) {\n    return 0;\n  }\n  pcVar4 = rl_copy_text(end,to);\n  rl_begin_undo_group();\n  puVar5 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(0x14);\n  uVar6 = *(undefined4 *)puVar3;\n  puVar5[1] = end;\n  puVar5[2] = to;\n  *puVar5 = uVar6;\n  puVar5[3] = pcVar4;\n  *(undefined4 **)puVar3 = puVar5;\n  puVar2 = PTR_xmalloc_001445b0;\n  puVar5[4] = 0;\n  puVar5 = (undefined4 *)(*(code *)puVar2)(0x14);\n  uVar6 = *(undefined4 *)puVar3;\n  puVar5[4] = 1;\n  puVar5[1] = end;\n  *puVar5 = uVar6;\n  puVar5[2] = to;\n  *(undefined4 **)puVar3 = puVar5;\n  puVar5[3] = 0;\n  rl_end_undo_group();\n  return 0;\n}\n\n" (function_definition "int rl_modifying(int start,int end)\n\n{\n  bool bVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  char *pcVar4;\n  undefined4 *puVar5;\n  undefined4 uVar6;\n  int to;\n  \n  puVar3 = PTR_rl_undo_list_00145c1c;\n  to = start;\n  if ((start <= end) && (bVar1 = start == end, to = end, end = start, bVar1)) {\n    return 0;\n  }\n  pcVar4 = rl_copy_text(end,to);\n  rl_begin_undo_group();\n  puVar5 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(0x14);\n  uVar6 = *(undefined4 *)puVar3;\n  puVar5[1] = end;\n  puVar5[2] = to;\n  *puVar5 = uVar6;\n  puVar5[3] = pcVar4;\n  *(undefined4 **)puVar3 = puVar5;\n  puVar2 = PTR_xmalloc_001445b0;\n  puVar5[4] = 0;\n  puVar5 = (undefined4 *)(*(code *)puVar2)(0x14);\n  uVar6 = *(undefined4 *)puVar3;\n  puVar5[4] = 1;\n  puVar5[1] = end;\n  *puVar5 = uVar6;\n  puVar5[2] = to;\n  *(undefined4 **)puVar3 = puVar5;\n  puVar5[3] = 0;\n  rl_end_undo_group();\n  return 0;\n}" primitive_type (function_declarator "rl_modifying(int start,int end)" identifier (parameter_list "(int start,int end)" ( (parameter_declaration "int start" primitive_type identifier) , (parameter_declaration "int end" primitive_type identifier) ))) (compound_statement "{\n  bool bVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  char *pcVar4;\n  undefined4 *puVar5;\n  undefined4 uVar6;\n  int to;\n  \n  puVar3 = PTR_rl_undo_list_00145c1c;\n  to = start;\n  if ((start <= end) && (bVar1 = start == end, to = end, end = start, bVar1)) {\n    return 0;\n  }\n  pcVar4 = rl_copy_text(end,to);\n  rl_begin_undo_group();\n  puVar5 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(0x14);\n  uVar6 = *(undefined4 *)puVar3;\n  puVar5[1] = end;\n  puVar5[2] = to;\n  *puVar5 = uVar6;\n  puVar5[3] = pcVar4;\n  *(undefined4 **)puVar3 = puVar5;\n  puVar2 = PTR_xmalloc_001445b0;\n  puVar5[4] = 0;\n  puVar5 = (undefined4 *)(*(code *)puVar2)(0x14);\n  uVar6 = *(undefined4 *)puVar3;\n  puVar5[4] = 1;\n  puVar5[1] = end;\n  *puVar5 = uVar6;\n  puVar5[2] = to;\n  *(undefined4 **)puVar3 = puVar5;\n  puVar5[3] = 0;\n  rl_end_undo_group();\n  return 0;\n}" { (declaration "bool bVar1;" primitive_type identifier ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (declaration "undefined4 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "undefined4 uVar6;" type_identifier identifier ;) (declaration "int to;" primitive_type identifier ;) (expression_statement "puVar3 = PTR_rl_undo_list_00145c1c;" (assignment_expression "puVar3 = PTR_rl_undo_list_00145c1c" identifier = identifier) ;) (expression_statement "to = start;" (assignment_expression "to = start" identifier = identifier) ;) (if_statement "if ((start <= end) && (bVar1 = start == end, to = end, end = start, bVar1)) {\n    return 0;\n  }" if (parenthesized_expression "((start <= end) && (bVar1 = start == end, to = end, end = start, bVar1))" ( (binary_expression "(start <= end) && (bVar1 = start == end, to = end, end = start, bVar1)" (parenthesized_expression "(start <= end)" ( (binary_expression "start <= end" identifier <= identifier) )) && (parenthesized_expression "(bVar1 = start == end, to = end, end = start, bVar1)" ( (comma_expression "bVar1 = start == end, to = end, end = start, bVar1" (assignment_expression "bVar1 = start == end" identifier = (binary_expression "start == end" identifier == identifier)) , (comma_expression "to = end, end = start, bVar1" (assignment_expression "to = end" identifier = identifier) , (comma_expression "end = start, bVar1" (assignment_expression "end = start" identifier = identifier) , identifier))) ))) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "pcVar4 = rl_copy_text(end,to);" (assignment_expression "pcVar4 = rl_copy_text(end,to)" identifier = (call_expression "rl_copy_text(end,to)" identifier (argument_list "(end,to)" ( identifier , identifier )))) ;) (expression_statement "rl_begin_undo_group();" (call_expression "rl_begin_undo_group()" identifier (argument_list "()" ( ))) ;) (expression_statement "puVar5 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(0x14);" (assignment_expression "puVar5 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(0x14)" identifier = (cast_expression "(undefined4 *)(*(code *)PTR_xmalloc_001445b0)(0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_xmalloc_001445b0)(0x14)" (parenthesized_expression "(*(code *)PTR_xmalloc_001445b0)" ( (pointer_expression "*(code *)PTR_xmalloc_001445b0" * (cast_expression "(code *)PTR_xmalloc_001445b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0x14)" ( number_literal ))))) ;) (expression_statement "uVar6 = *(undefined4 *)puVar3;" (assignment_expression "uVar6 = *(undefined4 *)puVar3" identifier = (pointer_expression "*(undefined4 *)puVar3" * (cast_expression "(undefined4 *)puVar3" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "puVar5[1] = end;" (assignment_expression "puVar5[1] = end" (subscript_expression "puVar5[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar5[2] = to;" (assignment_expression "puVar5[2] = to" (subscript_expression "puVar5[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*puVar5 = uVar6;" (assignment_expression "*puVar5 = uVar6" (pointer_expression "*puVar5" * identifier) = identifier) ;) (expression_statement "puVar5[3] = pcVar4;" (assignment_expression "puVar5[3] = pcVar4" (subscript_expression "puVar5[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*(undefined4 **)puVar3 = puVar5;" (assignment_expression "*(undefined4 **)puVar3 = puVar5" (pointer_expression "*(undefined4 **)puVar3" * (cast_expression "(undefined4 **)puVar3" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) = identifier) ;) (expression_statement "puVar2 = PTR_xmalloc_001445b0;" (assignment_expression "puVar2 = PTR_xmalloc_001445b0" identifier = identifier) ;) (expression_statement "puVar5[4] = 0;" (assignment_expression "puVar5[4] = 0" (subscript_expression "puVar5[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar5 = (undefined4 *)(*(code *)puVar2)(0x14);" (assignment_expression "puVar5 = (undefined4 *)(*(code *)puVar2)(0x14)" identifier = (cast_expression "(undefined4 *)(*(code *)puVar2)(0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)puVar2)(0x14)" (parenthesized_expression "(*(code *)puVar2)" ( (pointer_expression "*(code *)puVar2" * (cast_expression "(code *)puVar2" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0x14)" ( number_literal ))))) ;) (expression_statement "uVar6 = *(undefined4 *)puVar3;" (assignment_expression "uVar6 = *(undefined4 *)puVar3" identifier = (pointer_expression "*(undefined4 *)puVar3" * (cast_expression "(undefined4 *)puVar3" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "puVar5[4] = 1;" (assignment_expression "puVar5[4] = 1" (subscript_expression "puVar5[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar5[1] = end;" (assignment_expression "puVar5[1] = end" (subscript_expression "puVar5[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*puVar5 = uVar6;" (assignment_expression "*puVar5 = uVar6" (pointer_expression "*puVar5" * identifier) = identifier) ;) (expression_statement "puVar5[2] = to;" (assignment_expression "puVar5[2] = to" (subscript_expression "puVar5[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*(undefined4 **)puVar3 = puVar5;" (assignment_expression "*(undefined4 **)puVar3 = puVar5" (pointer_expression "*(undefined4 **)puVar3" * (cast_expression "(undefined4 **)puVar3" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) = identifier) ;) (expression_statement "puVar5[3] = 0;" (assignment_expression "puVar5[3] = 0" (subscript_expression "puVar5[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "rl_end_undo_group();" (call_expression "rl_end_undo_group()" identifier (argument_list "()" ( ))) ;) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "undefined4 rl_modifying(int param_1,int param_2)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  undefined4 uVar3;\n  undefined4 *puVar4;\n  undefined4 uVar5;\n  int iVar6;\n  int iVar7;\n  \n  puVar2 = PTR_rl_undo_list_00145c1c;\n  iVar6 = param_1;\n  iVar7 = param_2;\n  if ((param_1 <= param_2) && (iVar6 = param_2, iVar7 = param_1, param_1 == param_2)) {\n    return 0;\n  }\n  uVar3 = rl_copy_text(iVar7,iVar6);\n  rl_begin_undo_group();\n  puVar4 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(0x14);\n  uVar5 = *(undefined4 *)puVar2;\n  puVar4[1] = iVar7;\n  puVar4[2] = iVar6;\n  *puVar4 = uVar5;\n  puVar4[3] = uVar3;\n  *(undefined4 **)puVar2 = puVar4;\n  puVar1 = PTR_xmalloc_001445b0;\n  puVar4[4] = 0;\n  puVar4 = (undefined4 *)(*(code *)puVar1)(0x14);\n  uVar3 = *(undefined4 *)puVar2;\n  puVar4[4] = 1;\n  puVar4[1] = iVar7;\n  *puVar4 = uVar3;\n  puVar4[2] = iVar6;\n  *(undefined4 **)puVar2 = puVar4;\n  puVar4[3] = 0;\n  rl_end_undo_group();\n  return 0;\n}\n\n" (function_definition "undefined4 rl_modifying(int param_1,int param_2)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  undefined4 uVar3;\n  undefined4 *puVar4;\n  undefined4 uVar5;\n  int iVar6;\n  int iVar7;\n  \n  puVar2 = PTR_rl_undo_list_00145c1c;\n  iVar6 = param_1;\n  iVar7 = param_2;\n  if ((param_1 <= param_2) && (iVar6 = param_2, iVar7 = param_1, param_1 == param_2)) {\n    return 0;\n  }\n  uVar3 = rl_copy_text(iVar7,iVar6);\n  rl_begin_undo_group();\n  puVar4 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(0x14);\n  uVar5 = *(undefined4 *)puVar2;\n  puVar4[1] = iVar7;\n  puVar4[2] = iVar6;\n  *puVar4 = uVar5;\n  puVar4[3] = uVar3;\n  *(undefined4 **)puVar2 = puVar4;\n  puVar1 = PTR_xmalloc_001445b0;\n  puVar4[4] = 0;\n  puVar4 = (undefined4 *)(*(code *)puVar1)(0x14);\n  uVar3 = *(undefined4 *)puVar2;\n  puVar4[4] = 1;\n  puVar4[1] = iVar7;\n  *puVar4 = uVar3;\n  puVar4[2] = iVar6;\n  *(undefined4 **)puVar2 = puVar4;\n  puVar4[3] = 0;\n  rl_end_undo_group();\n  return 0;\n}" type_identifier (function_declarator "rl_modifying(int param_1,int param_2)" identifier (parameter_list "(int param_1,int param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  undefined *puVar2;\n  undefined4 uVar3;\n  undefined4 *puVar4;\n  undefined4 uVar5;\n  int iVar6;\n  int iVar7;\n  \n  puVar2 = PTR_rl_undo_list_00145c1c;\n  iVar6 = param_1;\n  iVar7 = param_2;\n  if ((param_1 <= param_2) && (iVar6 = param_2, iVar7 = param_1, param_1 == param_2)) {\n    return 0;\n  }\n  uVar3 = rl_copy_text(iVar7,iVar6);\n  rl_begin_undo_group();\n  puVar4 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(0x14);\n  uVar5 = *(undefined4 *)puVar2;\n  puVar4[1] = iVar7;\n  puVar4[2] = iVar6;\n  *puVar4 = uVar5;\n  puVar4[3] = uVar3;\n  *(undefined4 **)puVar2 = puVar4;\n  puVar1 = PTR_xmalloc_001445b0;\n  puVar4[4] = 0;\n  puVar4 = (undefined4 *)(*(code *)puVar1)(0x14);\n  uVar3 = *(undefined4 *)puVar2;\n  puVar4[4] = 1;\n  puVar4[1] = iVar7;\n  *puVar4 = uVar3;\n  puVar4[2] = iVar6;\n  *(undefined4 **)puVar2 = puVar4;\n  puVar4[3] = 0;\n  rl_end_undo_group();\n  return 0;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (expression_statement "puVar2 = PTR_rl_undo_list_00145c1c;" (assignment_expression "puVar2 = PTR_rl_undo_list_00145c1c" identifier = identifier) ;) (expression_statement "iVar6 = param_1;" (assignment_expression "iVar6 = param_1" identifier = identifier) ;) (expression_statement "iVar7 = param_2;" (assignment_expression "iVar7 = param_2" identifier = identifier) ;) (if_statement "if ((param_1 <= param_2) && (iVar6 = param_2, iVar7 = param_1, param_1 == param_2)) {\n    return 0;\n  }" if (parenthesized_expression "((param_1 <= param_2) && (iVar6 = param_2, iVar7 = param_1, param_1 == param_2))" ( (binary_expression "(param_1 <= param_2) && (iVar6 = param_2, iVar7 = param_1, param_1 == param_2)" (parenthesized_expression "(param_1 <= param_2)" ( (binary_expression "param_1 <= param_2" identifier <= identifier) )) && (parenthesized_expression "(iVar6 = param_2, iVar7 = param_1, param_1 == param_2)" ( (comma_expression "iVar6 = param_2, iVar7 = param_1, param_1 == param_2" (assignment_expression "iVar6 = param_2" identifier = identifier) , (comma_expression "iVar7 = param_1, param_1 == param_2" (assignment_expression "iVar7 = param_1" identifier = identifier) , (binary_expression "param_1 == param_2" identifier == identifier))) ))) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "uVar3 = rl_copy_text(iVar7,iVar6);" (assignment_expression "uVar3 = rl_copy_text(iVar7,iVar6)" identifier = (call_expression "rl_copy_text(iVar7,iVar6)" identifier (argument_list "(iVar7,iVar6)" ( identifier , identifier )))) ;) (expression_statement "rl_begin_undo_group();" (call_expression "rl_begin_undo_group()" identifier (argument_list "()" ( ))) ;) (expression_statement "puVar4 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(0x14);" (assignment_expression "puVar4 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(0x14)" identifier = (cast_expression "(undefined4 *)(*(code *)PTR_xmalloc_001445b0)(0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_xmalloc_001445b0)(0x14)" (parenthesized_expression "(*(code *)PTR_xmalloc_001445b0)" ( (pointer_expression "*(code *)PTR_xmalloc_001445b0" * (cast_expression "(code *)PTR_xmalloc_001445b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0x14)" ( number_literal ))))) ;) (expression_statement "uVar5 = *(undefined4 *)puVar2;" (assignment_expression "uVar5 = *(undefined4 *)puVar2" identifier = (pointer_expression "*(undefined4 *)puVar2" * (cast_expression "(undefined4 *)puVar2" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "puVar4[1] = iVar7;" (assignment_expression "puVar4[1] = iVar7" (subscript_expression "puVar4[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar4[2] = iVar6;" (assignment_expression "puVar4[2] = iVar6" (subscript_expression "puVar4[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*puVar4 = uVar5;" (assignment_expression "*puVar4 = uVar5" (pointer_expression "*puVar4" * identifier) = identifier) ;) (expression_statement "puVar4[3] = uVar3;" (assignment_expression "puVar4[3] = uVar3" (subscript_expression "puVar4[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*(undefined4 **)puVar2 = puVar4;" (assignment_expression "*(undefined4 **)puVar2 = puVar4" (pointer_expression "*(undefined4 **)puVar2" * (cast_expression "(undefined4 **)puVar2" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) = identifier) ;) (expression_statement "puVar1 = PTR_xmalloc_001445b0;" (assignment_expression "puVar1 = PTR_xmalloc_001445b0" identifier = identifier) ;) (expression_statement "puVar4[4] = 0;" (assignment_expression "puVar4[4] = 0" (subscript_expression "puVar4[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar4 = (undefined4 *)(*(code *)puVar1)(0x14);" (assignment_expression "puVar4 = (undefined4 *)(*(code *)puVar1)(0x14)" identifier = (cast_expression "(undefined4 *)(*(code *)puVar1)(0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)puVar1)(0x14)" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0x14)" ( number_literal ))))) ;) (expression_statement "uVar3 = *(undefined4 *)puVar2;" (assignment_expression "uVar3 = *(undefined4 *)puVar2" identifier = (pointer_expression "*(undefined4 *)puVar2" * (cast_expression "(undefined4 *)puVar2" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "puVar4[4] = 1;" (assignment_expression "puVar4[4] = 1" (subscript_expression "puVar4[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar4[1] = iVar7;" (assignment_expression "puVar4[1] = iVar7" (subscript_expression "puVar4[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*puVar4 = uVar3;" (assignment_expression "*puVar4 = uVar3" (pointer_expression "*puVar4" * identifier) = identifier) ;) (expression_statement "puVar4[2] = iVar6;" (assignment_expression "puVar4[2] = iVar6" (subscript_expression "puVar4[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*(undefined4 **)puVar2 = puVar4;" (assignment_expression "*(undefined4 **)puVar2 = puVar4" (pointer_expression "*(undefined4 **)puVar2" * (cast_expression "(undefined4 **)puVar2" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) = identifier) ;) (expression_statement "puVar4[3] = 0;" (assignment_expression "puVar4[3] = 0" (subscript_expression "puVar4[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "rl_end_undo_group();" (call_expression "rl_end_undo_group()" identifier (argument_list "()" ( ))) ;) (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 (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = IDENT) , (comma_expression (assignment_expression IDENT = IDENT) , (binary_expression IDENT == IDENT))) ))) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT)) = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT)) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (return_statement return LIT ;) })))
(function_definition "undefined4 rl_modifying(int param_1,int param_2)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  undefined4 uVar3;\n  undefined4 *puVar4;\n  undefined4 uVar5;\n  int iVar6;\n  int iVar7;\n  \n  puVar2 = PTR_rl_undo_list_00145c1c;\n  iVar6 = param_1;\n  iVar7 = param_2;\n  if ((param_1 <= param_2) && (iVar6 = param_2, iVar7 = param_1, param_1 == param_2)) {\n    return 0;\n  }\n  uVar3 = rl_copy_text(iVar7,iVar6);\n  rl_begin_undo_group();\n  puVar4 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(0x14);\n  uVar5 = *(undefined4 *)puVar2;\n  puVar4[1] = iVar7;\n  puVar4[2] = iVar6;\n  *puVar4 = uVar5;\n  puVar4[3] = uVar3;\n  *(undefined4 **)puVar2 = puVar4;\n  puVar1 = PTR_xmalloc_001445b0;\n  puVar4[4] = 0;\n  puVar4 = (undefined4 *)(*(code *)puVar1)(0x14);\n  uVar3 = *(undefined4 *)puVar2;\n  puVar4[4] = 1;\n  puVar4[1] = iVar7;\n  *puVar4 = uVar3;\n  puVar4[2] = iVar6;\n  *(undefined4 **)puVar2 = puVar4;\n  puVar4[3] = 0;\n  rl_end_undo_group();\n  return 0;\n}" (type_identifier "undefined4") (function_declarator "rl_modifying(int param_1,int param_2)" (identifier "rl_modifying") (parameter_list "(int param_1,int param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  undefined *puVar1;\n  undefined *puVar2;\n  undefined4 uVar3;\n  undefined4 *puVar4;\n  undefined4 uVar5;\n  int iVar6;\n  int iVar7;\n  \n  puVar2 = PTR_rl_undo_list_00145c1c;\n  iVar6 = param_1;\n  iVar7 = param_2;\n  if ((param_1 <= param_2) && (iVar6 = param_2, iVar7 = param_1, param_1 == param_2)) {\n    return 0;\n  }\n  uVar3 = rl_copy_text(iVar7,iVar6);\n  rl_begin_undo_group();\n  puVar4 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(0x14);\n  uVar5 = *(undefined4 *)puVar2;\n  puVar4[1] = iVar7;\n  puVar4[2] = iVar6;\n  *puVar4 = uVar5;\n  puVar4[3] = uVar3;\n  *(undefined4 **)puVar2 = puVar4;\n  puVar1 = PTR_xmalloc_001445b0;\n  puVar4[4] = 0;\n  puVar4 = (undefined4 *)(*(code *)puVar1)(0x14);\n  uVar3 = *(undefined4 *)puVar2;\n  puVar4[4] = 1;\n  puVar4[1] = iVar7;\n  *puVar4 = uVar3;\n  puVar4[2] = iVar6;\n  *(undefined4 **)puVar2 = puVar4;\n  puVar4[3] = 0;\n  rl_end_undo_group();\n  return 0;\n}" ({ "{") (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "undefined *puVar2;" (type_identifier "undefined") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "undefined4 uVar3;" (type_identifier "undefined4") (identifier "uVar3") (; ";")) (declaration "undefined4 *puVar4;" (type_identifier "undefined4") (pointer_declarator "*puVar4" (* "*") (identifier "puVar4")) (; ";")) (declaration "undefined4 uVar5;" (type_identifier "undefined4") (identifier "uVar5") (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "int iVar7;" (primitive_type "int") (identifier "iVar7") (; ";")) (expression_statement "puVar2 = PTR_rl_undo_list_00145c1c;" (assignment_expression "puVar2 = PTR_rl_undo_list_00145c1c" (identifier "puVar2") (= "=") (identifier "PTR_rl_undo_list_00145c1c")) (; ";")) (expression_statement "iVar6 = param_1;" (assignment_expression "iVar6 = param_1" (identifier "iVar6") (= "=") (identifier "param_1")) (; ";")) (expression_statement "iVar7 = param_2;" (assignment_expression "iVar7 = param_2" (identifier "iVar7") (= "=") (identifier "param_2")) (; ";")) (if_statement "if ((param_1 <= param_2) && (iVar6 = param_2, iVar7 = param_1, param_1 == param_2)) {\n    return 0;\n  }" (if "if") (parenthesized_expression "((param_1 <= param_2) && (iVar6 = param_2, iVar7 = param_1, param_1 == param_2))" (( "(") (binary_expression "(param_1 <= param_2) && (iVar6 = param_2, iVar7 = param_1, param_1 == param_2)" (parenthesized_expression "(param_1 <= param_2)" (( "(") (binary_expression "param_1 <= param_2" (identifier "param_1") (<= "<=") (identifier "param_2")) () ")")) (&& "&&") (parenthesized_expression "(iVar6 = param_2, iVar7 = param_1, param_1 == param_2)" (( "(") (comma_expression "iVar6 = param_2, iVar7 = param_1, param_1 == param_2" (assignment_expression "iVar6 = param_2" (identifier "iVar6") (= "=") (identifier "param_2")) (, ",") (comma_expression "iVar7 = param_1, param_1 == param_2" (assignment_expression "iVar7 = param_1" (identifier "iVar7") (= "=") (identifier "param_1")) (, ",") (binary_expression "param_1 == param_2" (identifier "param_1") (== "==") (identifier "param_2")))) () ")"))) () ")")) (compound_statement "{\n    return 0;\n  }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (expression_statement "uVar3 = rl_copy_text(iVar7,iVar6);" (assignment_expression "uVar3 = rl_copy_text(iVar7,iVar6)" (identifier "uVar3") (= "=") (call_expression "rl_copy_text(iVar7,iVar6)" (identifier "rl_copy_text") (argument_list "(iVar7,iVar6)" (( "(") (identifier "iVar7") (, ",") (identifier "iVar6") () ")")))) (; ";")) (expression_statement "rl_begin_undo_group();" (call_expression "rl_begin_undo_group()" (identifier "rl_begin_undo_group") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "puVar4 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(0x14);" (assignment_expression "puVar4 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(0x14)" (identifier "puVar4") (= "=") (cast_expression "(undefined4 *)(*(code *)PTR_xmalloc_001445b0)(0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_xmalloc_001445b0)(0x14)" (parenthesized_expression "(*(code *)PTR_xmalloc_001445b0)" (( "(") (pointer_expression "*(code *)PTR_xmalloc_001445b0" (* "*") (cast_expression "(code *)PTR_xmalloc_001445b0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_xmalloc_001445b0"))) () ")")) (argument_list "(0x14)" (( "(") (number_literal "0x14") () ")"))))) (; ";")) (expression_statement "uVar5 = *(undefined4 *)puVar2;" (assignment_expression "uVar5 = *(undefined4 *)puVar2" (identifier "uVar5") (= "=") (pointer_expression "*(undefined4 *)puVar2" (* "*") (cast_expression "(undefined4 *)puVar2" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar2")))) (; ";")) (expression_statement "puVar4[1] = iVar7;" (assignment_expression "puVar4[1] = iVar7" (subscript_expression "puVar4[1]" (identifier "puVar4") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "iVar7")) (; ";")) (expression_statement "puVar4[2] = iVar6;" (assignment_expression "puVar4[2] = iVar6" (subscript_expression "puVar4[2]" (identifier "puVar4") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "iVar6")) (; ";")) (expression_statement "*puVar4 = uVar5;" (assignment_expression "*puVar4 = uVar5" (pointer_expression "*puVar4" (* "*") (identifier "puVar4")) (= "=") (identifier "uVar5")) (; ";")) (expression_statement "puVar4[3] = uVar3;" (assignment_expression "puVar4[3] = uVar3" (subscript_expression "puVar4[3]" (identifier "puVar4") ([ "[") (number_literal "3") (] "]")) (= "=") (identifier "uVar3")) (; ";")) (expression_statement "*(undefined4 **)puVar2 = puVar4;" (assignment_expression "*(undefined4 **)puVar2 = puVar4" (pointer_expression "*(undefined4 **)puVar2" (* "*") (cast_expression "(undefined4 **)puVar2" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "puVar2"))) (= "=") (identifier "puVar4")) (; ";")) (expression_statement "puVar1 = PTR_xmalloc_001445b0;" (assignment_expression "puVar1 = PTR_xmalloc_001445b0" (identifier "puVar1") (= "=") (identifier "PTR_xmalloc_001445b0")) (; ";")) (expression_statement "puVar4[4] = 0;" (assignment_expression "puVar4[4] = 0" (subscript_expression "puVar4[4]" (identifier "puVar4") ([ "[") (number_literal "4") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar4 = (undefined4 *)(*(code *)puVar1)(0x14);" (assignment_expression "puVar4 = (undefined4 *)(*(code *)puVar1)(0x14)" (identifier "puVar4") (= "=") (cast_expression "(undefined4 *)(*(code *)puVar1)(0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)puVar1)(0x14)" (parenthesized_expression "(*(code *)puVar1)" (( "(") (pointer_expression "*(code *)puVar1" (* "*") (cast_expression "(code *)puVar1" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar1"))) () ")")) (argument_list "(0x14)" (( "(") (number_literal "0x14") () ")"))))) (; ";")) (expression_statement "uVar3 = *(undefined4 *)puVar2;" (assignment_expression "uVar3 = *(undefined4 *)puVar2" (identifier "uVar3") (= "=") (pointer_expression "*(undefined4 *)puVar2" (* "*") (cast_expression "(undefined4 *)puVar2" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar2")))) (; ";")) (expression_statement "puVar4[4] = 1;" (assignment_expression "puVar4[4] = 1" (subscript_expression "puVar4[4]" (identifier "puVar4") ([ "[") (number_literal "4") (] "]")) (= "=") (number_literal "1")) (; ";")) (expression_statement "puVar4[1] = iVar7;" (assignment_expression "puVar4[1] = iVar7" (subscript_expression "puVar4[1]" (identifier "puVar4") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "iVar7")) (; ";")) (expression_statement "*puVar4 = uVar3;" (assignment_expression "*puVar4 = uVar3" (pointer_expression "*puVar4" (* "*") (identifier "puVar4")) (= "=") (identifier "uVar3")) (; ";")) (expression_statement "puVar4[2] = iVar6;" (assignment_expression "puVar4[2] = iVar6" (subscript_expression "puVar4[2]" (identifier "puVar4") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "iVar6")) (; ";")) (expression_statement "*(undefined4 **)puVar2 = puVar4;" (assignment_expression "*(undefined4 **)puVar2 = puVar4" (pointer_expression "*(undefined4 **)puVar2" (* "*") (cast_expression "(undefined4 **)puVar2" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "puVar2"))) (= "=") (identifier "puVar4")) (; ";")) (expression_statement "puVar4[3] = 0;" (assignment_expression "puVar4[3] = 0" (subscript_expression "puVar4[3]" (identifier "puVar4") ([ "[") (number_literal "3") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "rl_end_undo_group();" (call_expression "rl_end_undo_group()" (identifier "rl_end_undo_group") (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return 0;" (return "return") (number_literal "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: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (identifier)) right: (comma_expression left: (assignment_expression left: (identifier) right: (identifier)) right: (binary_expression left: (identifier) right: (identifier))))))) consequence: (compound_statement (return_statement (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (identifier))) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (identifier))) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (return_statement (number_literal)))))

undefined4 MASKED(int param_1,int param_2)

{
  undefined *puVar1;
  undefined *puVar2;
  undefined4 uVar3;
  undefined4 *puVar4;
  undefined4 uVar5;
  int iVar6;
  int iVar7;
  
  puVar2 = PTR_rl_undo_list_00145c1c;
  iVar6 = param_1;
  iVar7 = param_2;
  if ((param_1 <= param_2) && (iVar6 = param_2, iVar7 = param_1, param_1 == param_2)) {
    return 0;
  }
  uVar3 = rl_copy_text(iVar7,iVar6);
  rl_begin_undo_group();
  puVar4 = (undefined4 *)(*(code *)PTR_xmalloc_001445b0)(0x14);
  uVar5 = *(undefined4 *)puVar2;
  puVar4[1] = iVar7;
  puVar4[2] = iVar6;
  *puVar4 = uVar5;
  puVar4[3] = uVar3;
  *(undefined4 **)puVar2 = puVar4;
  puVar1 = PTR_xmalloc_001445b0;
  puVar4[4] = 0;
  puVar4 = (undefined4 *)(*(code *)puVar1)(0x14);
  uVar3 = *(undefined4 *)puVar2;
  puVar4[4] = 1;
  puVar4[1] = iVar7;
  *puVar4 = uVar3;
  puVar4[2] = iVar6;
  *(undefined4 **)puVar2 = puVar4;
  puVar4[3] = 0;
  rl_end_undo_group();
  return 0;
}

