
/* stdio_sync_filebuf<wchar_t, std::char_traits<wchar_t> >::seekoff(long, std::_Ios_Seekdir,
   std::_Ios_Openmode) */

undefined1  [16]
stdio_sync_filebuf<wchar_t,std::char_traits<wchar_t>>::seekoff
          (long param_1,__off64_t param_2,int param_3)

{
  int iVar1;
  undefined1 auVar2 [16];
  
  iVar1 = 0;
  if (param_3 != 0) {
    iVar1 = (param_3 != 1) + 1;
  }
  iVar1 = fseeko64(*(FILE **)(param_1 + 0x40),param_2,iVar1);
  if (iVar1 != 0) {
    return ZEXT816(0xffffffffffffffff);
  }
  auVar2._0_8_ = ftello64(*(FILE **)(param_1 + 0x40));
  auVar2._8_8_ = 0;
  return auVar2;
}



undefined1  [16] FUN_002a7fb0(long param_1,__off64_t param_2,int param_3)

{
  int iVar1;
  undefined1 auVar2 [16];
  
  iVar1 = 0;
  if (param_3 != 0) {
    iVar1 = (param_3 != 1) + 1;
  }
  iVar1 = fseeko64(*(FILE **)(param_1 + 0x40),param_2,iVar1);
  if (iVar1 != 0) {
    return ZEXT816(0xffffffffffffffff);
  }
  auVar2._0_8_ = ftello64(*(FILE **)(param_1 + 0x40));
  auVar2._8_8_ = 0;
  return auVar2;
}


PUSH RBX
XOR EAX,EAX
MOV RBX,RDI
TEST EDX,EDX
JZ 0x002a7fc5
XOR EAX,EAX
CMP EDX,0x1
SETNZ AL
ADD EAX,0x1
MOV RDI,qword ptr [RBX + 0x40]
MOV EDX,EAX
CALL 0x0013e0e0
MOV RDX,-0x1
TEST EAX,EAX
JZ 0x002a7fe8
MOV RAX,RDX
POP RBX
XOR EDX,EDX
RET
MOV RDI,qword ptr [RBX + 0x40]
CALL 0x0013ea50
POP RBX
MOV RDX,RAX
MOV RAX,RDX
XOR EDX,EDX
RET
(translation_unit "undefined1  [16] FUN_002a7fb0(long param_1,__off64_t param_2,int param_3)\n\n{\n  int iVar1;\n  undefined1 auVar2 [16];\n  \n  iVar1 = 0;\n  if (param_3 != 0) {\n    iVar1 = (param_3 != 1) + 1;\n  }\n  iVar1 = fseeko64(*(FILE **)(param_1 + 0x40),param_2,iVar1);\n  if (iVar1 != 0) {\n    return ZEXT816(0xffffffffffffffff);\n  }\n  auVar2._0_8_ = ftello64(*(FILE **)(param_1 + 0x40));\n  auVar2._8_8_ = 0;\n  return auVar2;\n}\n\n" (expression_statement "undefined1  [16]" (subscript_expression "undefined1  [16]" identifier [ number_literal ]) ;) (macro_type_specifier "FUN_002a7fb0(long param_1,__off64_t param_2,int param_3)" identifier ( (type_descriptor "long param_1" (sized_type_specifier "long param_1" long type_identifier)) (ERROR ",__off64_t param_2,int param_3" , identifier identifier , primitive_type identifier) )) ; (compound_statement "{\n  int iVar1;\n  undefined1 auVar2 [16];\n  \n  iVar1 = 0;\n  if (param_3 != 0) {\n    iVar1 = (param_3 != 1) + 1;\n  }\n  iVar1 = fseeko64(*(FILE **)(param_1 + 0x40),param_2,iVar1);\n  if (iVar1 != 0) {\n    return ZEXT816(0xffffffffffffffff);\n  }\n  auVar2._0_8_ = ftello64(*(FILE **)(param_1 + 0x40));\n  auVar2._8_8_ = 0;\n  return auVar2;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined1 auVar2 [16];" type_identifier (array_declarator "auVar2 [16]" identifier [ number_literal ]) ;) (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" identifier = number_literal) ;) (if_statement "if (param_3 != 0) {\n    iVar1 = (param_3 != 1) + 1;\n  }" if (parenthesized_expression "(param_3 != 0)" ( (binary_expression "param_3 != 0" identifier != number_literal) )) (compound_statement "{\n    iVar1 = (param_3 != 1) + 1;\n  }" { (expression_statement "iVar1 = (param_3 != 1) + 1;" (assignment_expression "iVar1 = (param_3 != 1) + 1" identifier = (binary_expression "(param_3 != 1) + 1" (parenthesized_expression "(param_3 != 1)" ( (binary_expression "param_3 != 1" identifier != number_literal) )) + number_literal)) ;) })) (expression_statement "iVar1 = fseeko64(*(FILE **)(param_1 + 0x40),param_2,iVar1);" (assignment_expression "iVar1 = fseeko64(*(FILE **)(param_1 + 0x40),param_2,iVar1)" identifier = (call_expression "fseeko64(*(FILE **)(param_1 + 0x40),param_2,iVar1)" identifier (argument_list "(*(FILE **)(param_1 + 0x40),param_2,iVar1)" ( (pointer_expression "*(FILE **)(param_1 + 0x40)" * (cast_expression "(FILE **)(param_1 + 0x40)" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x40)" ( (binary_expression "param_1 + 0x40" identifier + number_literal) )))) , identifier , identifier )))) ;) (if_statement "if (iVar1 != 0) {\n    return ZEXT816(0xffffffffffffffff);\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    return ZEXT816(0xffffffffffffffff);\n  }" { (return_statement "return ZEXT816(0xffffffffffffffff);" return (call_expression "ZEXT816(0xffffffffffffffff)" identifier (argument_list "(0xffffffffffffffff)" ( number_literal ))) ;) })) (expression_statement "auVar2._0_8_ = ftello64(*(FILE **)(param_1 + 0x40));" (assignment_expression "auVar2._0_8_ = ftello64(*(FILE **)(param_1 + 0x40))" (field_expression "auVar2._0_8_" identifier . field_identifier) = (call_expression "ftello64(*(FILE **)(param_1 + 0x40))" identifier (argument_list "(*(FILE **)(param_1 + 0x40))" ( (pointer_expression "*(FILE **)(param_1 + 0x40)" * (cast_expression "(FILE **)(param_1 + 0x40)" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x40)" ( (binary_expression "param_1 + 0x40" identifier + number_literal) )))) )))) ;) (expression_statement "auVar2._8_8_ = 0;" (assignment_expression "auVar2._8_8_ = 0" (field_expression "auVar2._8_8_" identifier . field_identifier) = number_literal) ;) (return_statement "return auVar2;" return identifier ;) }))
(translation_unit "/* stdio_sync_filebuf<wchar_t, std::char_traits<wchar_t> >::seekoff(long, std::_Ios_Seekdir,\n   std::_Ios_Openmode) */\n\nundefined1  [16]\nstdio_sync_filebuf<wchar_t,std::char_traits<wchar_t>>::seekoff\n          (long param_1,__off64_t param_2,int param_3)\n\n{\n  int iVar1;\n  undefined1 auVar2 [16];\n  \n  iVar1 = 0;\n  if (param_3 != 0) {\n    iVar1 = (param_3 != 1) + 1;\n  }\n  iVar1 = fseeko64(*(FILE **)(param_1 + 0x40),param_2,iVar1);\n  if (iVar1 != 0) {\n    return ZEXT816(0xffffffffffffffff);\n  }\n  auVar2._0_8_ = ftello64(*(FILE **)(param_1 + 0x40));\n  auVar2._8_8_ = 0;\n  return auVar2;\n}\n\n" comment (expression_statement "undefined1  [16]" (subscript_expression "undefined1  [16]" identifier [ number_literal ]) ;) (ERROR "stdio_sync_filebuf<wchar_t," (binary_expression "stdio_sync_filebuf<wchar_t" identifier < identifier) ,) (labeled_statement "std::char_traits<wchar_t>>::seekoff\n          (long param_1,__off64_t param_2,int param_3)\n\n{\n  int iVar1;" statement_identifier : (ERROR ":char_traits<wchar_t>>::seekoff\n          (long param_1,__off64_t param_2,int param_3)\n\n{" : (binary_expression "char_traits<wchar_t>>::seekoff\n          (long param_1,__off64_t param_2,int param_3)" identifier < (binary_expression "wchar_t>>::seekoff\n          (long param_1,__off64_t param_2,int param_3)" identifier >> (ERROR "::" : :) (call_expression "seekoff\n          (long param_1,__off64_t param_2,int param_3)" identifier (argument_list "(long param_1,__off64_t param_2,int param_3)" ( (ERROR "long" identifier) identifier , identifier (ERROR "param_2" identifier) , (ERROR "int" identifier) identifier ))))) {) (declaration "int iVar1;" primitive_type identifier ;)) (declaration "undefined1 auVar2 [16];" type_identifier (array_declarator "auVar2 [16]" identifier [ number_literal ]) ;) (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" identifier = number_literal) ;) (if_statement "if (param_3 != 0) {\n    iVar1 = (param_3 != 1) + 1;\n  }" if (parenthesized_expression "(param_3 != 0)" ( (binary_expression "param_3 != 0" identifier != number_literal) )) (compound_statement "{\n    iVar1 = (param_3 != 1) + 1;\n  }" { (expression_statement "iVar1 = (param_3 != 1) + 1;" (assignment_expression "iVar1 = (param_3 != 1) + 1" identifier = (binary_expression "(param_3 != 1) + 1" (parenthesized_expression "(param_3 != 1)" ( (binary_expression "param_3 != 1" identifier != number_literal) )) + number_literal)) ;) })) (expression_statement "iVar1 = fseeko64(*(FILE **)(param_1 + 0x40),param_2,iVar1);" (assignment_expression "iVar1 = fseeko64(*(FILE **)(param_1 + 0x40),param_2,iVar1)" identifier = (call_expression "fseeko64(*(FILE **)(param_1 + 0x40),param_2,iVar1)" identifier (argument_list "(*(FILE **)(param_1 + 0x40),param_2,iVar1)" ( (pointer_expression "*(FILE **)(param_1 + 0x40)" * (cast_expression "(FILE **)(param_1 + 0x40)" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x40)" ( (binary_expression "param_1 + 0x40" identifier + number_literal) )))) , identifier , identifier )))) ;) (if_statement "if (iVar1 != 0) {\n    return ZEXT816(0xffffffffffffffff);\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    return ZEXT816(0xffffffffffffffff);\n  }" { (return_statement "return ZEXT816(0xffffffffffffffff);" return (call_expression "ZEXT816(0xffffffffffffffff)" identifier (argument_list "(0xffffffffffffffff)" ( number_literal ))) ;) })) (expression_statement "auVar2._0_8_ = ftello64(*(FILE **)(param_1 + 0x40));" (assignment_expression "auVar2._0_8_ = ftello64(*(FILE **)(param_1 + 0x40))" (field_expression "auVar2._0_8_" identifier . field_identifier) = (call_expression "ftello64(*(FILE **)(param_1 + 0x40))" identifier (argument_list "(*(FILE **)(param_1 + 0x40))" ( (pointer_expression "*(FILE **)(param_1 + 0x40)" * (cast_expression "(FILE **)(param_1 + 0x40)" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x40)" ( (binary_expression "param_1 + 0x40" identifier + number_literal) )))) )))) ;) (expression_statement "auVar2._8_8_ = 0;" (assignment_expression "auVar2._8_8_ = 0" (field_expression "auVar2._8_8_" identifier . field_identifier) = number_literal) ;) (return_statement "return auVar2;" return identifier ;) (ERROR "}" }))
(translation_unit "undefined1  [16] FUN_002a7fb0(long param_1,__off64_t param_2,int param_3)\n\n{\n  int iVar1;\n  undefined1 auVar2 [16];\n  \n  iVar1 = 0;\n  if (param_3 != 0) {\n    iVar1 = (param_3 != 1) + 1;\n  }\n  iVar1 = fseeko64(*(FILE **)(param_1 + 0x40),param_2,iVar1);\n  if (iVar1 != 0) {\n    return ZEXT816(0xffffffffffffffff);\n  }\n  auVar2._0_8_ = ftello64(*(FILE **)(param_1 + 0x40));\n  auVar2._8_8_ = 0;\n  return auVar2;\n}\n\n" (expression_statement "undefined1  [16]" (subscript_expression "undefined1  [16]" identifier [ number_literal ]) ;) (macro_type_specifier "FUN_002a7fb0(long param_1,__off64_t param_2,int param_3)" identifier ( (type_descriptor "long param_1" (sized_type_specifier "long param_1" long type_identifier)) (ERROR ",__off64_t param_2,int param_3" , identifier identifier , primitive_type identifier) )) ; (compound_statement "{\n  int iVar1;\n  undefined1 auVar2 [16];\n  \n  iVar1 = 0;\n  if (param_3 != 0) {\n    iVar1 = (param_3 != 1) + 1;\n  }\n  iVar1 = fseeko64(*(FILE **)(param_1 + 0x40),param_2,iVar1);\n  if (iVar1 != 0) {\n    return ZEXT816(0xffffffffffffffff);\n  }\n  auVar2._0_8_ = ftello64(*(FILE **)(param_1 + 0x40));\n  auVar2._8_8_ = 0;\n  return auVar2;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined1 auVar2 [16];" type_identifier (array_declarator "auVar2 [16]" identifier [ number_literal ]) ;) (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" identifier = number_literal) ;) (if_statement "if (param_3 != 0) {\n    iVar1 = (param_3 != 1) + 1;\n  }" if (parenthesized_expression "(param_3 != 0)" ( (binary_expression "param_3 != 0" identifier != number_literal) )) (compound_statement "{\n    iVar1 = (param_3 != 1) + 1;\n  }" { (expression_statement "iVar1 = (param_3 != 1) + 1;" (assignment_expression "iVar1 = (param_3 != 1) + 1" identifier = (binary_expression "(param_3 != 1) + 1" (parenthesized_expression "(param_3 != 1)" ( (binary_expression "param_3 != 1" identifier != number_literal) )) + number_literal)) ;) })) (expression_statement "iVar1 = fseeko64(*(FILE **)(param_1 + 0x40),param_2,iVar1);" (assignment_expression "iVar1 = fseeko64(*(FILE **)(param_1 + 0x40),param_2,iVar1)" identifier = (call_expression "fseeko64(*(FILE **)(param_1 + 0x40),param_2,iVar1)" identifier (argument_list "(*(FILE **)(param_1 + 0x40),param_2,iVar1)" ( (pointer_expression "*(FILE **)(param_1 + 0x40)" * (cast_expression "(FILE **)(param_1 + 0x40)" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x40)" ( (binary_expression "param_1 + 0x40" identifier + number_literal) )))) , identifier , identifier )))) ;) (if_statement "if (iVar1 != 0) {\n    return ZEXT816(0xffffffffffffffff);\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    return ZEXT816(0xffffffffffffffff);\n  }" { (return_statement "return ZEXT816(0xffffffffffffffff);" return (call_expression "ZEXT816(0xffffffffffffffff)" identifier (argument_list "(0xffffffffffffffff)" ( number_literal ))) ;) })) (expression_statement "auVar2._0_8_ = ftello64(*(FILE **)(param_1 + 0x40));" (assignment_expression "auVar2._0_8_ = ftello64(*(FILE **)(param_1 + 0x40))" (field_expression "auVar2._0_8_" identifier . field_identifier) = (call_expression "ftello64(*(FILE **)(param_1 + 0x40))" identifier (argument_list "(*(FILE **)(param_1 + 0x40))" ( (pointer_expression "*(FILE **)(param_1 + 0x40)" * (cast_expression "(FILE **)(param_1 + 0x40)" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x40)" ( (binary_expression "param_1 + 0x40" identifier + number_literal) )))) )))) ;) (expression_statement "auVar2._8_8_ = 0;" (assignment_expression "auVar2._8_8_ = 0" (field_expression "auVar2._8_8_" identifier . field_identifier) = number_literal) ;) (return_statement "return auVar2;" return identifier ;) }))
(translation_unit (expression_statement (subscript_expression IDENT [ LIT ]) ;) (macro_type_specifier IDENT ( (type_descriptor (sized_type_specifier long TYPE)) (ERROR , IDENT IDENT , TYPE IDENT) )) ; (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) + LIT)) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (return_statement return (call_expression IDENT (argument_list ( LIT ))) ;) })) (expression_statement (assignment_expression (field_expression IDENT . field_identifier) = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )))) ;) (expression_statement (assignment_expression (field_expression IDENT . field_identifier) = LIT) ;) (return_statement return IDENT ;) }))
(expression_statement "undefined1  [16]" (subscript_expression "undefined1  [16]" (identifier "undefined1") ([ "[") (number_literal "16") (] "]")) (; "")) (macro_type_specifier "FUN_002a7fb0(long param_1,__off64_t param_2,int param_3)" (identifier "FUN_002a7fb0") (( "(") (type_descriptor "long param_1" (sized_type_specifier "long param_1" (long "long") (type_identifier "param_1"))) (ERROR ",__off64_t param_2,int param_3" (, ",") (identifier "__off64_t") (identifier "param_2") (, ",") (primitive_type "int") (identifier "param_3")) () ")")) (; "") (compound_statement "{\n  int iVar1;\n  undefined1 auVar2 [16];\n  \n  iVar1 = 0;\n  if (param_3 != 0) {\n    iVar1 = (param_3 != 1) + 1;\n  }\n  iVar1 = fseeko64(*(FILE **)(param_1 + 0x40),param_2,iVar1);\n  if (iVar1 != 0) {\n    return ZEXT816(0xffffffffffffffff);\n  }\n  auVar2._0_8_ = ftello64(*(FILE **)(param_1 + 0x40));\n  auVar2._8_8_ = 0;\n  return auVar2;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "undefined1 auVar2 [16];" (type_identifier "undefined1") (array_declarator "auVar2 [16]" (identifier "auVar2") ([ "[") (number_literal "16") (] "]")) (; ";")) (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" (identifier "iVar1") (= "=") (number_literal "0")) (; ";")) (if_statement "if (param_3 != 0) {\n    iVar1 = (param_3 != 1) + 1;\n  }" (if "if") (parenthesized_expression "(param_3 != 0)" (( "(") (binary_expression "param_3 != 0" (identifier "param_3") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    iVar1 = (param_3 != 1) + 1;\n  }" ({ "{") (expression_statement "iVar1 = (param_3 != 1) + 1;" (assignment_expression "iVar1 = (param_3 != 1) + 1" (identifier "iVar1") (= "=") (binary_expression "(param_3 != 1) + 1" (parenthesized_expression "(param_3 != 1)" (( "(") (binary_expression "param_3 != 1" (identifier "param_3") (!= "!=") (number_literal "1")) () ")")) (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (expression_statement "iVar1 = fseeko64(*(FILE **)(param_1 + 0x40),param_2,iVar1);" (assignment_expression "iVar1 = fseeko64(*(FILE **)(param_1 + 0x40),param_2,iVar1)" (identifier "iVar1") (= "=") (call_expression "fseeko64(*(FILE **)(param_1 + 0x40),param_2,iVar1)" (identifier "fseeko64") (argument_list "(*(FILE **)(param_1 + 0x40),param_2,iVar1)" (( "(") (pointer_expression "*(FILE **)(param_1 + 0x40)" (* "*") (cast_expression "(FILE **)(param_1 + 0x40)" (( "(") (type_descriptor "FILE **" (type_identifier "FILE") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x40)" (( "(") (binary_expression "param_1 + 0x40" (identifier "param_1") (+ "+") (number_literal "0x40")) () ")")))) (, ",") (identifier "param_2") (, ",") (identifier "iVar1") () ")")))) (; ";")) (if_statement "if (iVar1 != 0) {\n    return ZEXT816(0xffffffffffffffff);\n  }" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    return ZEXT816(0xffffffffffffffff);\n  }" ({ "{") (return_statement "return ZEXT816(0xffffffffffffffff);" (return "return") (call_expression "ZEXT816(0xffffffffffffffff)" (identifier "ZEXT816") (argument_list "(0xffffffffffffffff)" (( "(") (number_literal "0xffffffffffffffff") () ")"))) (; ";")) (} "}"))) (expression_statement "auVar2._0_8_ = ftello64(*(FILE **)(param_1 + 0x40));" (assignment_expression "auVar2._0_8_ = ftello64(*(FILE **)(param_1 + 0x40))" (field_expression "auVar2._0_8_" (identifier "auVar2") (. ".") (field_identifier "_0_8_")) (= "=") (call_expression "ftello64(*(FILE **)(param_1 + 0x40))" (identifier "ftello64") (argument_list "(*(FILE **)(param_1 + 0x40))" (( "(") (pointer_expression "*(FILE **)(param_1 + 0x40)" (* "*") (cast_expression "(FILE **)(param_1 + 0x40)" (( "(") (type_descriptor "FILE **" (type_identifier "FILE") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x40)" (( "(") (binary_expression "param_1 + 0x40" (identifier "param_1") (+ "+") (number_literal "0x40")) () ")")))) () ")")))) (; ";")) (expression_statement "auVar2._8_8_ = 0;" (assignment_expression "auVar2._8_8_ = 0" (field_expression "auVar2._8_8_" (identifier "auVar2") (. ".") (field_identifier "_8_8_")) (= "=") (number_literal "0")) (; ";")) (return_statement "return auVar2;" (return "return") (identifier "auVar2") (; ";")) (} "}"))

/* stdio_sync_filebuf<wchar_t, std::char_traits<wchar_t> >::seekoff(long, std::_Ios_Seekdir,
   std::_Ios_Openmode) */

type_1  [16]
stdio_sync_filebuf<wchar_t,std::char_traits<wchar_t>>::seekoff
          (long var_3,__off64_t param_2,int var_1)

{
  int var_4;
  type_1 auVar2 [16];
  
  var_4 = 0;
  if (var_1 != 0) {
    var_4 = (var_1 != 1) + 1;
  }
  var_4 = var_2(*(type_2 **)(var_3 + 0x40),param_2,var_4);
  if (var_4 != 0) {
    return var_5(0xffffffffffffffff);
  }
  auVar2._0_8_ = var_6(*(type_2 **)(var_3 + 0x40));
  auVar2._8_8_ = 0;
  return auVar2;
}


(translation_unit (expression_statement (subscript_expression argument: (identifier) index: (number_literal)) (MISSING ";")) (macro_type_specifier name: (identifier) type: (type_descriptor type: (sized_type_specifier type: (type_identifier))) (ERROR (identifier) (identifier) (primitive_type) (identifier))) (MISSING ";") (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (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: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) (identifier) (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement (call_expression function: (identifier) arguments: (argument_list (number_literal)))))) (expression_statement (assignment_expression left: (field_expression argument: (identifier) field: (field_identifier)) right: (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))))) (expression_statement (assignment_expression left: (field_expression argument: (identifier) field: (field_identifier)) right: (number_literal))) (return_statement (identifier))))

undefined1  [16] MASKED(long param_1,__off64_t param_2,int param_3)

{
  int iVar1;
  undefined1 auVar2 [16];
  
  iVar1 = 0;
  if (param_3 != 0) {
    iVar1 = (param_3 != 1) + 1;
  }
  iVar1 = fseeko64(*(FILE **)(param_1 + 0x40),param_2,iVar1);
  if (iVar1 != 0) {
    return ZEXT816(0xffffffffffffffff);
  }
  auVar2._0_8_ = ftello64(*(FILE **)(param_1 + 0x40));
  auVar2._8_8_ = 0;
  return auVar2;
}

