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

int seekable(int f)

{
  __off64_t _Var1;
  
  _Var1 = lseek64(f,1,0);
  return (uint)(_Var1 != -1);
}



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

bool FUN_000158f0(int param_1)

{
  __off64_t _Var1;
  
  _Var1 = lseek64(param_1,1,0);
  return _Var1 != -1;
}


PUSH EBX
CALL 0x000129a0
ADD EBX,0x265a2
SUB ESP,0x8
PUSH 0x0
PUSH 0x0
PUSH 0x1
PUSH dword ptr [ESP + 0x1c]
CALL 0x000123d0
AND EAX,EDX
CMP EAX,-0x1
SETNZ AL
ADD ESP,0x18
MOVZX EAX,AL
POP EBX
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nbool FUN_000158f0(int param_1)\n\n{\n  __off64_t _Var1;\n  \n  _Var1 = lseek64(param_1,1,0);\n  return _Var1 != -1;\n}\n\n" comment (function_definition "bool FUN_000158f0(int param_1)\n\n{\n  __off64_t _Var1;\n  \n  _Var1 = lseek64(param_1,1,0);\n  return _Var1 != -1;\n}" primitive_type (function_declarator "FUN_000158f0(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  __off64_t _Var1;\n  \n  _Var1 = lseek64(param_1,1,0);\n  return _Var1 != -1;\n}" { (declaration "__off64_t _Var1;" type_identifier identifier ;) (expression_statement "_Var1 = lseek64(param_1,1,0);" (assignment_expression "_Var1 = lseek64(param_1,1,0)" identifier = (call_expression "lseek64(param_1,1,0)" identifier (argument_list "(param_1,1,0)" ( identifier , number_literal , number_literal )))) ;) (return_statement "return _Var1 != -1;" return (binary_expression "_Var1 != -1" identifier != number_literal) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\nint seekable(int f)\n\n{\n  __off64_t _Var1;\n  \n  _Var1 = lseek64(f,1,0);\n  return (uint)(_Var1 != -1);\n}\n\n" comment comment (function_definition "int seekable(int f)\n\n{\n  __off64_t _Var1;\n  \n  _Var1 = lseek64(f,1,0);\n  return (uint)(_Var1 != -1);\n}" primitive_type (function_declarator "seekable(int f)" identifier (parameter_list "(int f)" ( (parameter_declaration "int f" primitive_type identifier) ))) (compound_statement "{\n  __off64_t _Var1;\n  \n  _Var1 = lseek64(f,1,0);\n  return (uint)(_Var1 != -1);\n}" { (declaration "__off64_t _Var1;" type_identifier identifier ;) (expression_statement "_Var1 = lseek64(f,1,0);" (assignment_expression "_Var1 = lseek64(f,1,0)" identifier = (call_expression "lseek64(f,1,0)" identifier (argument_list "(f,1,0)" ( identifier , number_literal , number_literal )))) ;) (return_statement "return (uint)(_Var1 != -1);" return (call_expression "(uint)(_Var1 != -1)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(_Var1 != -1)" ( (binary_expression "_Var1 != -1" identifier != number_literal) ))) ;) })))
(translation_unit "bool FUN_000158f0(int param_1)\n\n{\n  __off64_t _Var1;\n  \n  _Var1 = lseek64(param_1,1,0);\n  return _Var1 != -1;\n}\n\n" (function_definition "bool FUN_000158f0(int param_1)\n\n{\n  __off64_t _Var1;\n  \n  _Var1 = lseek64(param_1,1,0);\n  return _Var1 != -1;\n}" primitive_type (function_declarator "FUN_000158f0(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  __off64_t _Var1;\n  \n  _Var1 = lseek64(param_1,1,0);\n  return _Var1 != -1;\n}" { (declaration "__off64_t _Var1;" type_identifier identifier ;) (expression_statement "_Var1 = lseek64(param_1,1,0);" (assignment_expression "_Var1 = lseek64(param_1,1,0)" identifier = (call_expression "lseek64(param_1,1,0)" identifier (argument_list "(param_1,1,0)" ( identifier , number_literal , number_literal )))) ;) (return_statement "return _Var1 != -1;" return (binary_expression "_Var1 != -1" identifier != number_literal) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT , LIT )))) ;) (return_statement return (binary_expression IDENT != LIT) ;) })))
(function_definition "bool FUN_000158f0(int param_1)\n\n{\n  __off64_t _Var1;\n  \n  _Var1 = lseek64(param_1,1,0);\n  return _Var1 != -1;\n}" (primitive_type "bool") (function_declarator "FUN_000158f0(int param_1)" (identifier "FUN_000158f0") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  __off64_t _Var1;\n  \n  _Var1 = lseek64(param_1,1,0);\n  return _Var1 != -1;\n}" ({ "{") (declaration "__off64_t _Var1;" (type_identifier "__off64_t") (identifier "_Var1") (; ";")) (expression_statement "_Var1 = lseek64(param_1,1,0);" (assignment_expression "_Var1 = lseek64(param_1,1,0)" (identifier "_Var1") (= "=") (call_expression "lseek64(param_1,1,0)" (identifier "lseek64") (argument_list "(param_1,1,0)" (( "(") (identifier "param_1") (, ",") (number_literal "1") (, ",") (number_literal "0") () ")")))) (; ";")) (return_statement "return _Var1 != -1;" (return "return") (binary_expression "_Var1 != -1" (identifier "_Var1") (!= "!=") (number_literal "-1")) (; ";")) (} "}")))

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

int function_1(int f)

{
  type_1 var_2;
  
  var_2 = var_1(f,1,0);
  return (uint)(var_2 != -1);
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal) (number_literal))))) (return_statement (binary_expression left: (identifier) right: (number_literal))))))

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

bool MASKED(int param_1)

{
  __off64_t _Var1;
  
  _Var1 = lseek64(param_1,1,0);
  return _Var1 != -1;
}

