
/* WARNING: Function: __x86.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */
/* WARNING: Unknown calling convention */

int rl_set_mark(int count,int key)

{
  int iVar1;
  
  if (rl_explicit_arg == 0) {
    count = rl_point;
  }
  iVar1 = 1;
  if ((-1 < count) && (count <= rl_end)) {
    iVar1 = 0;
    rl_mark = count;
  }
  return iVar1;
}



/* WARNING: Function: __i686.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */

undefined4 rl_set_mark(int param_1)

{
  undefined4 uVar1;
  
  if (rl_explicit_arg == 0) {
    param_1 = rl_point;
  }
  uVar1 = 1;
  if ((-1 < param_1) && (param_1 <= rl_end)) {
    uVar1 = 0;
    rl_mark = param_1;
  }
  return uVar1;
}


CALL 0x00033639
ADD ECX,0x65ccb
PUSH EBX
MOV EDX,dword ptr [ESP + 0x8]
LEA EAX,[ECX + 0x7b48]
MOV EAX,dword ptr [EAX]
TEST EAX,EAX
JNZ 0x000e4354
LEA EAX,[ECX + 0xd988]
MOV EDX,dword ptr [EAX]
MOV EAX,0x1
TEST EDX,EDX
JS 0x000e4371
LEA EBX,[ECX + 0xd8cc]
CMP EDX,dword ptr [EBX]
JG 0x000e4371
LEA EAX,[ECX + 0xd97c]
MOV dword ptr [EAX],EDX
XOR EAX,EAX
POP EBX
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */\n\nundefined4 rl_set_mark(int param_1)\n\n{\n  undefined4 uVar1;\n  \n  if (rl_explicit_arg == 0) {\n    param_1 = rl_point;\n  }\n  uVar1 = 1;\n  if ((-1 < param_1) && (param_1 <= rl_end)) {\n    uVar1 = 0;\n    rl_mark = param_1;\n  }\n  return uVar1;\n}\n\n" comment (function_definition "undefined4 rl_set_mark(int param_1)\n\n{\n  undefined4 uVar1;\n  \n  if (rl_explicit_arg == 0) {\n    param_1 = rl_point;\n  }\n  uVar1 = 1;\n  if ((-1 < param_1) && (param_1 <= rl_end)) {\n    uVar1 = 0;\n    rl_mark = param_1;\n  }\n  return uVar1;\n}" type_identifier (function_declarator "rl_set_mark(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  if (rl_explicit_arg == 0) {\n    param_1 = rl_point;\n  }\n  uVar1 = 1;\n  if ((-1 < param_1) && (param_1 <= rl_end)) {\n    uVar1 = 0;\n    rl_mark = param_1;\n  }\n  return uVar1;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (if_statement "if (rl_explicit_arg == 0) {\n    param_1 = rl_point;\n  }" if (parenthesized_expression "(rl_explicit_arg == 0)" ( (binary_expression "rl_explicit_arg == 0" identifier == number_literal) )) (compound_statement "{\n    param_1 = rl_point;\n  }" { (expression_statement "param_1 = rl_point;" (assignment_expression "param_1 = rl_point" identifier = identifier) ;) })) (expression_statement "uVar1 = 1;" (assignment_expression "uVar1 = 1" identifier = number_literal) ;) (if_statement "if ((-1 < param_1) && (param_1 <= rl_end)) {\n    uVar1 = 0;\n    rl_mark = param_1;\n  }" if (parenthesized_expression "((-1 < param_1) && (param_1 <= rl_end))" ( (binary_expression "(-1 < param_1) && (param_1 <= rl_end)" (parenthesized_expression "(-1 < param_1)" ( (binary_expression "-1 < param_1" number_literal < identifier) )) && (parenthesized_expression "(param_1 <= rl_end)" ( (binary_expression "param_1 <= rl_end" identifier <= identifier) ))) )) (compound_statement "{\n    uVar1 = 0;\n    rl_mark = param_1;\n  }" { (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" identifier = number_literal) ;) (expression_statement "rl_mark = param_1;" (assignment_expression "rl_mark = param_1" identifier = identifier) ;) })) (return_statement "return uVar1;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */\n/* WARNING: Unknown calling convention */\n\nint rl_set_mark(int count,int key)\n\n{\n  int iVar1;\n  \n  if (rl_explicit_arg == 0) {\n    count = rl_point;\n  }\n  iVar1 = 1;\n  if ((-1 < count) && (count <= rl_end)) {\n    iVar1 = 0;\n    rl_mark = count;\n  }\n  return iVar1;\n}\n\n" comment comment (function_definition "int rl_set_mark(int count,int key)\n\n{\n  int iVar1;\n  \n  if (rl_explicit_arg == 0) {\n    count = rl_point;\n  }\n  iVar1 = 1;\n  if ((-1 < count) && (count <= rl_end)) {\n    iVar1 = 0;\n    rl_mark = count;\n  }\n  return iVar1;\n}" primitive_type (function_declarator "rl_set_mark(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 (rl_explicit_arg == 0) {\n    count = rl_point;\n  }\n  iVar1 = 1;\n  if ((-1 < count) && (count <= rl_end)) {\n    iVar1 = 0;\n    rl_mark = count;\n  }\n  return iVar1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (if_statement "if (rl_explicit_arg == 0) {\n    count = rl_point;\n  }" if (parenthesized_expression "(rl_explicit_arg == 0)" ( (binary_expression "rl_explicit_arg == 0" identifier == number_literal) )) (compound_statement "{\n    count = rl_point;\n  }" { (expression_statement "count = rl_point;" (assignment_expression "count = rl_point" identifier = identifier) ;) })) (expression_statement "iVar1 = 1;" (assignment_expression "iVar1 = 1" identifier = number_literal) ;) (if_statement "if ((-1 < count) && (count <= rl_end)) {\n    iVar1 = 0;\n    rl_mark = count;\n  }" if (parenthesized_expression "((-1 < count) && (count <= rl_end))" ( (binary_expression "(-1 < count) && (count <= rl_end)" (parenthesized_expression "(-1 < count)" ( (binary_expression "-1 < count" number_literal < identifier) )) && (parenthesized_expression "(count <= rl_end)" ( (binary_expression "count <= rl_end" identifier <= identifier) ))) )) (compound_statement "{\n    iVar1 = 0;\n    rl_mark = count;\n  }" { (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" identifier = number_literal) ;) (expression_statement "rl_mark = count;" (assignment_expression "rl_mark = count" identifier = identifier) ;) })) (return_statement "return iVar1;" return identifier ;) })))
(translation_unit "undefined4 rl_set_mark(int param_1)\n\n{\n  undefined4 uVar1;\n  \n  if (rl_explicit_arg == 0) {\n    param_1 = rl_point;\n  }\n  uVar1 = 1;\n  if ((-1 < param_1) && (param_1 <= rl_end)) {\n    uVar1 = 0;\n    rl_mark = param_1;\n  }\n  return uVar1;\n}\n\n" (function_definition "undefined4 rl_set_mark(int param_1)\n\n{\n  undefined4 uVar1;\n  \n  if (rl_explicit_arg == 0) {\n    param_1 = rl_point;\n  }\n  uVar1 = 1;\n  if ((-1 < param_1) && (param_1 <= rl_end)) {\n    uVar1 = 0;\n    rl_mark = param_1;\n  }\n  return uVar1;\n}" type_identifier (function_declarator "rl_set_mark(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  if (rl_explicit_arg == 0) {\n    param_1 = rl_point;\n  }\n  uVar1 = 1;\n  if ((-1 < param_1) && (param_1 <= rl_end)) {\n    uVar1 = 0;\n    rl_mark = param_1;\n  }\n  return uVar1;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (if_statement "if (rl_explicit_arg == 0) {\n    param_1 = rl_point;\n  }" if (parenthesized_expression "(rl_explicit_arg == 0)" ( (binary_expression "rl_explicit_arg == 0" identifier == number_literal) )) (compound_statement "{\n    param_1 = rl_point;\n  }" { (expression_statement "param_1 = rl_point;" (assignment_expression "param_1 = rl_point" identifier = identifier) ;) })) (expression_statement "uVar1 = 1;" (assignment_expression "uVar1 = 1" identifier = number_literal) ;) (if_statement "if ((-1 < param_1) && (param_1 <= rl_end)) {\n    uVar1 = 0;\n    rl_mark = param_1;\n  }" if (parenthesized_expression "((-1 < param_1) && (param_1 <= rl_end))" ( (binary_expression "(-1 < param_1) && (param_1 <= rl_end)" (parenthesized_expression "(-1 < param_1)" ( (binary_expression "-1 < param_1" number_literal < identifier) )) && (parenthesized_expression "(param_1 <= rl_end)" ( (binary_expression "param_1 <= rl_end" identifier <= identifier) ))) )) (compound_statement "{\n    uVar1 = 0;\n    rl_mark = param_1;\n  }" { (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" identifier = number_literal) ;) (expression_statement "rl_mark = param_1;" (assignment_expression "rl_mark = param_1" identifier = identifier) ;) })) (return_statement "return uVar1;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression LIT < IDENT) )) && (parenthesized_expression ( (binary_expression IDENT <= IDENT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) })) (return_statement return IDENT ;) })))
(function_definition "undefined4 rl_set_mark(int param_1)\n\n{\n  undefined4 uVar1;\n  \n  if (rl_explicit_arg == 0) {\n    param_1 = rl_point;\n  }\n  uVar1 = 1;\n  if ((-1 < param_1) && (param_1 <= rl_end)) {\n    uVar1 = 0;\n    rl_mark = param_1;\n  }\n  return uVar1;\n}" (type_identifier "undefined4") (function_declarator "rl_set_mark(int param_1)" (identifier "rl_set_mark") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  \n  if (rl_explicit_arg == 0) {\n    param_1 = rl_point;\n  }\n  uVar1 = 1;\n  if ((-1 < param_1) && (param_1 <= rl_end)) {\n    uVar1 = 0;\n    rl_mark = param_1;\n  }\n  return uVar1;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (if_statement "if (rl_explicit_arg == 0) {\n    param_1 = rl_point;\n  }" (if "if") (parenthesized_expression "(rl_explicit_arg == 0)" (( "(") (binary_expression "rl_explicit_arg == 0" (identifier "rl_explicit_arg") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    param_1 = rl_point;\n  }" ({ "{") (expression_statement "param_1 = rl_point;" (assignment_expression "param_1 = rl_point" (identifier "param_1") (= "=") (identifier "rl_point")) (; ";")) (} "}"))) (expression_statement "uVar1 = 1;" (assignment_expression "uVar1 = 1" (identifier "uVar1") (= "=") (number_literal "1")) (; ";")) (if_statement "if ((-1 < param_1) && (param_1 <= rl_end)) {\n    uVar1 = 0;\n    rl_mark = param_1;\n  }" (if "if") (parenthesized_expression "((-1 < param_1) && (param_1 <= rl_end))" (( "(") (binary_expression "(-1 < param_1) && (param_1 <= rl_end)" (parenthesized_expression "(-1 < param_1)" (( "(") (binary_expression "-1 < param_1" (number_literal "-1") (< "<") (identifier "param_1")) () ")")) (&& "&&") (parenthesized_expression "(param_1 <= rl_end)" (( "(") (binary_expression "param_1 <= rl_end" (identifier "param_1") (<= "<=") (identifier "rl_end")) () ")"))) () ")")) (compound_statement "{\n    uVar1 = 0;\n    rl_mark = param_1;\n  }" ({ "{") (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" (identifier "uVar1") (= "=") (number_literal "0")) (; ";")) (expression_statement "rl_mark = param_1;" (assignment_expression "rl_mark = param_1" (identifier "rl_mark") (= "=") (identifier "param_1")) (; ";")) (} "}"))) (return_statement "return uVar1;" (return "return") (identifier "uVar1") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */
/* WARNING: Unknown calling convention */

int function_1(int var_2,int key)

{
  int iVar1;
  
  if (var_1 == 0) {
    var_2 = rl_point;
  }
  iVar1 = 1;
  if ((-1 < var_2) && (var_2 <= var_3)) {
    iVar1 = 0;
    rl_mark = var_2;
  }
  return iVar1;
}


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

/* WARNING: Function: __i686.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */

undefined4 MASKED(int param_1)

{
  undefined4 uVar1;
  
  if (rl_explicit_arg == 0) {
    param_1 = rl_point;
  }
  uVar1 = 1;
  if ((-1 < param_1) && (param_1 <= rl_end)) {
    uVar1 = 0;
    rl_mark = param_1;
  }
  return uVar1;
}

