
/* std::wstreambuf::pubseekoff(long, std::_Ios_Seekdir, std::_Ios_Openmode) */

undefined1  [16] std::wstreambuf::pubseekoff(long *param_1)

{
  undefined1 auVar1 [16];
  
  if (*(code **)(*param_1 + 0x20) == (code *)PTR_seekoff_0045be90) {
    return ZEXT816(0xffffffffffffffff);
  }
                    /* WARNING: Could not recover jumptable at 0x002fbf50. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  auVar1 = (**(code **)(*param_1 + 0x20))();
  return auVar1;
}



undefined1  [16] FUN_002fbf30(long *param_1)

{
  undefined1 auVar1 [16];
  
  if (*(code **)(*param_1 + 0x20) == (code *)PTR_FUN_0045be90) {
    return ZEXT816(0xffffffffffffffff);
  }
                    /* WARNING: Could not recover jumptable at 0x002fbf50. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  auVar1 = (**(code **)(*param_1 + 0x20))();
  return auVar1;
}


MOV RAX,qword ptr [RDI]
MOV RAX,qword ptr [RAX + 0x20]
CMP RAX,qword ptr [0x0045be90]
JNZ 0x002fbf50
MOV RAX,-0x1
XOR EDX,EDX
RET
JMP RAX
(translation_unit "undefined1  [16] FUN_002fbf30(long *param_1)\n\n{\n  undefined1 auVar1 [16];\n  \n  if (*(code **)(*param_1 + 0x20) == (code *)PTR_FUN_0045be90) {\n    return ZEXT816(0xffffffffffffffff);\n  }\n                    /* WARNING: Could not recover jumptable at 0x002fbf50. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  auVar1 = (**(code **)(*param_1 + 0x20))();\n  return auVar1;\n}\n\n" (expression_statement "undefined1  [16]" (subscript_expression "undefined1  [16]" identifier [ number_literal ]) ;) (expression_statement "FUN_002fbf30(long *param_1)" (call_expression "FUN_002fbf30(long *param_1)" identifier (argument_list "(long *param_1)" ( (binary_expression "long *param_1" identifier * identifier) ))) ;) (compound_statement "{\n  undefined1 auVar1 [16];\n  \n  if (*(code **)(*param_1 + 0x20) == (code *)PTR_FUN_0045be90) {\n    return ZEXT816(0xffffffffffffffff);\n  }\n                    /* WARNING: Could not recover jumptable at 0x002fbf50. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  auVar1 = (**(code **)(*param_1 + 0x20))();\n  return auVar1;\n}" { (declaration "undefined1 auVar1 [16];" type_identifier (array_declarator "auVar1 [16]" identifier [ number_literal ]) ;) (if_statement "if (*(code **)(*param_1 + 0x20) == (code *)PTR_FUN_0045be90) {\n    return ZEXT816(0xffffffffffffffff);\n  }" if (parenthesized_expression "(*(code **)(*param_1 + 0x20) == (code *)PTR_FUN_0045be90)" ( (binary_expression "*(code **)(*param_1 + 0x20) == (code *)PTR_FUN_0045be90" (pointer_expression "*(code **)(*param_1 + 0x20)" * (cast_expression "(code **)(*param_1 + 0x20)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_1 + 0x20)" ( (binary_expression "*param_1 + 0x20" (pointer_expression "*param_1" * identifier) + number_literal) )))) == (cast_expression "(code *)PTR_FUN_0045be90" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (compound_statement "{\n    return ZEXT816(0xffffffffffffffff);\n  }" { (return_statement "return ZEXT816(0xffffffffffffffff);" return (call_expression "ZEXT816(0xffffffffffffffff)" identifier (argument_list "(0xffffffffffffffff)" ( number_literal ))) ;) })) comment comment (expression_statement "auVar1 = (**(code **)(*param_1 + 0x20))();" (assignment_expression "auVar1 = (**(code **)(*param_1 + 0x20))()" identifier = (call_expression "(**(code **)(*param_1 + 0x20))()" (parenthesized_expression "(**(code **)(*param_1 + 0x20))" ( (pointer_expression "**(code **)(*param_1 + 0x20)" * (pointer_expression "*(code **)(*param_1 + 0x20)" * (cast_expression "(code **)(*param_1 + 0x20)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_1 + 0x20)" ( (binary_expression "*param_1 + 0x20" (pointer_expression "*param_1" * identifier) + number_literal) ))))) )) (argument_list "()" ( )))) ;) (return_statement "return auVar1;" return identifier ;) }))
(translation_unit "/* std::wstreambuf::pubseekoff(long, std::_Ios_Seekdir, std::_Ios_Openmode) */\n\nundefined1  [16] std::wstreambuf::pubseekoff(long *param_1)\n\n{\n  undefined1 auVar1 [16];\n  \n  if (*(code **)(*param_1 + 0x20) == (code *)PTR_seekoff_0045be90) {\n    return ZEXT816(0xffffffffffffffff);\n  }\n                    /* WARNING: Could not recover jumptable at 0x002fbf50. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  auVar1 = (**(code **)(*param_1 + 0x20))();\n  return auVar1;\n}\n\n" comment (expression_statement "undefined1  [16]" (subscript_expression "undefined1  [16]" identifier [ number_literal ]) ;) (labeled_statement "std::wstreambuf::pubseekoff(long *param_1)\n\n{\n  undefined1 auVar1 [16];\n  \n  if (*(code **)(*param_1 + 0x20) == (code *)PTR_seekoff_0045be90) {\n    return ZEXT816(0xffffffffffffffff);\n  }\n                    /* WARNING: Could not recover jumptable at 0x002fbf50. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  auVar1 = (**(code **)(*param_1 + 0x20))();\n  return auVar1;\n}" statement_identifier : (ERROR ":" :) (labeled_statement "wstreambuf::pubseekoff(long *param_1)\n\n{\n  undefined1 auVar1 [16];\n  \n  if (*(code **)(*param_1 + 0x20) == (code *)PTR_seekoff_0045be90) {\n    return ZEXT816(0xffffffffffffffff);\n  }\n                    /* WARNING: Could not recover jumptable at 0x002fbf50. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  auVar1 = (**(code **)(*param_1 + 0x20))();\n  return auVar1;\n}" statement_identifier : (ERROR ":pubseekoff(long *param_1)" : (call_expression "pubseekoff(long *param_1)" identifier (argument_list "(long *param_1)" ( (binary_expression "long *param_1" identifier * identifier) )))) (compound_statement "{\n  undefined1 auVar1 [16];\n  \n  if (*(code **)(*param_1 + 0x20) == (code *)PTR_seekoff_0045be90) {\n    return ZEXT816(0xffffffffffffffff);\n  }\n                    /* WARNING: Could not recover jumptable at 0x002fbf50. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  auVar1 = (**(code **)(*param_1 + 0x20))();\n  return auVar1;\n}" { (declaration "undefined1 auVar1 [16];" type_identifier (array_declarator "auVar1 [16]" identifier [ number_literal ]) ;) (if_statement "if (*(code **)(*param_1 + 0x20) == (code *)PTR_seekoff_0045be90) {\n    return ZEXT816(0xffffffffffffffff);\n  }" if (parenthesized_expression "(*(code **)(*param_1 + 0x20) == (code *)PTR_seekoff_0045be90)" ( (binary_expression "*(code **)(*param_1 + 0x20) == (code *)PTR_seekoff_0045be90" (pointer_expression "*(code **)(*param_1 + 0x20)" * (cast_expression "(code **)(*param_1 + 0x20)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_1 + 0x20)" ( (binary_expression "*param_1 + 0x20" (pointer_expression "*param_1" * identifier) + number_literal) )))) == (cast_expression "(code *)PTR_seekoff_0045be90" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (compound_statement "{\n    return ZEXT816(0xffffffffffffffff);\n  }" { (return_statement "return ZEXT816(0xffffffffffffffff);" return (call_expression "ZEXT816(0xffffffffffffffff)" identifier (argument_list "(0xffffffffffffffff)" ( number_literal ))) ;) })) comment comment (expression_statement "auVar1 = (**(code **)(*param_1 + 0x20))();" (assignment_expression "auVar1 = (**(code **)(*param_1 + 0x20))()" identifier = (call_expression "(**(code **)(*param_1 + 0x20))()" (parenthesized_expression "(**(code **)(*param_1 + 0x20))" ( (pointer_expression "**(code **)(*param_1 + 0x20)" * (pointer_expression "*(code **)(*param_1 + 0x20)" * (cast_expression "(code **)(*param_1 + 0x20)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_1 + 0x20)" ( (binary_expression "*param_1 + 0x20" (pointer_expression "*param_1" * identifier) + number_literal) ))))) )) (argument_list "()" ( )))) ;) (return_statement "return auVar1;" return identifier ;) }))))
(translation_unit "undefined1  [16] FUN_002fbf30(long *param_1)\n\n{\n  undefined1 auVar1 [16];\n  \n  if (*(code **)(*param_1 + 0x20) == (code *)PTR_FUN_0045be90) {\n    return ZEXT816(0xffffffffffffffff);\n  }\n                    \n                    \n  auVar1 = (**(code **)(*param_1 + 0x20))();\n  return auVar1;\n}\n\n" (expression_statement "undefined1  [16]" (subscript_expression "undefined1  [16]" identifier [ number_literal ]) ;) (expression_statement "FUN_002fbf30(long *param_1)" (call_expression "FUN_002fbf30(long *param_1)" identifier (argument_list "(long *param_1)" ( (binary_expression "long *param_1" identifier * identifier) ))) ;) (compound_statement "{\n  undefined1 auVar1 [16];\n  \n  if (*(code **)(*param_1 + 0x20) == (code *)PTR_FUN_0045be90) {\n    return ZEXT816(0xffffffffffffffff);\n  }\n                    \n                    \n  auVar1 = (**(code **)(*param_1 + 0x20))();\n  return auVar1;\n}" { (declaration "undefined1 auVar1 [16];" type_identifier (array_declarator "auVar1 [16]" identifier [ number_literal ]) ;) (if_statement "if (*(code **)(*param_1 + 0x20) == (code *)PTR_FUN_0045be90) {\n    return ZEXT816(0xffffffffffffffff);\n  }" if (parenthesized_expression "(*(code **)(*param_1 + 0x20) == (code *)PTR_FUN_0045be90)" ( (binary_expression "*(code **)(*param_1 + 0x20) == (code *)PTR_FUN_0045be90" (pointer_expression "*(code **)(*param_1 + 0x20)" * (cast_expression "(code **)(*param_1 + 0x20)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_1 + 0x20)" ( (binary_expression "*param_1 + 0x20" (pointer_expression "*param_1" * identifier) + number_literal) )))) == (cast_expression "(code *)PTR_FUN_0045be90" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (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 "auVar1 = (**(code **)(*param_1 + 0x20))();" (assignment_expression "auVar1 = (**(code **)(*param_1 + 0x20))()" identifier = (call_expression "(**(code **)(*param_1 + 0x20))()" (parenthesized_expression "(**(code **)(*param_1 + 0x20))" ( (pointer_expression "**(code **)(*param_1 + 0x20)" * (pointer_expression "*(code **)(*param_1 + 0x20)" * (cast_expression "(code **)(*param_1 + 0x20)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_1 + 0x20)" ( (binary_expression "*param_1 + 0x20" (pointer_expression "*param_1" * identifier) + number_literal) ))))) )) (argument_list "()" ( )))) ;) (return_statement "return auVar1;" return identifier ;) }))
(translation_unit (expression_statement (subscript_expression IDENT [ LIT ]) ;) (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT * IDENT) ))) ;) (compound_statement { (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (compound_statement { (return_statement return (call_expression IDENT (argument_list ( LIT ))) ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) )) (argument_list ( )))) ;) (return_statement return IDENT ;) }))
(expression_statement "undefined1  [16]" (subscript_expression "undefined1  [16]" (identifier "undefined1") ([ "[") (number_literal "16") (] "]")) (; "")) (expression_statement "FUN_002fbf30(long *param_1)" (call_expression "FUN_002fbf30(long *param_1)" (identifier "FUN_002fbf30") (argument_list "(long *param_1)" (( "(") (binary_expression "long *param_1" (identifier "long") (* "*") (identifier "param_1")) () ")"))) (; "")) (compound_statement "{\n  undefined1 auVar1 [16];\n  \n  if (*(code **)(*param_1 + 0x20) == (code *)PTR_FUN_0045be90) {\n    return ZEXT816(0xffffffffffffffff);\n  }\n                    \n                    \n  auVar1 = (**(code **)(*param_1 + 0x20))();\n  return auVar1;\n}" ({ "{") (declaration "undefined1 auVar1 [16];" (type_identifier "undefined1") (array_declarator "auVar1 [16]" (identifier "auVar1") ([ "[") (number_literal "16") (] "]")) (; ";")) (if_statement "if (*(code **)(*param_1 + 0x20) == (code *)PTR_FUN_0045be90) {\n    return ZEXT816(0xffffffffffffffff);\n  }" (if "if") (parenthesized_expression "(*(code **)(*param_1 + 0x20) == (code *)PTR_FUN_0045be90)" (( "(") (binary_expression "*(code **)(*param_1 + 0x20) == (code *)PTR_FUN_0045be90" (pointer_expression "*(code **)(*param_1 + 0x20)" (* "*") (cast_expression "(code **)(*param_1 + 0x20)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*param_1 + 0x20)" (( "(") (binary_expression "*param_1 + 0x20" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "0x20")) () ")")))) (== "==") (cast_expression "(code *)PTR_FUN_0045be90" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_FUN_0045be90"))) () ")")) (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 "auVar1 = (**(code **)(*param_1 + 0x20))();" (assignment_expression "auVar1 = (**(code **)(*param_1 + 0x20))()" (identifier "auVar1") (= "=") (call_expression "(**(code **)(*param_1 + 0x20))()" (parenthesized_expression "(**(code **)(*param_1 + 0x20))" (( "(") (pointer_expression "**(code **)(*param_1 + 0x20)" (* "*") (pointer_expression "*(code **)(*param_1 + 0x20)" (* "*") (cast_expression "(code **)(*param_1 + 0x20)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*param_1 + 0x20)" (( "(") (binary_expression "*param_1 + 0x20" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "0x20")) () ")"))))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (return_statement "return auVar1;" (return "return") (identifier "auVar1") (; ";")) (} "}"))

/* std::wstreambuf::pubseekoff(long, std::_Ios_Seekdir, std::_Ios_Openmode) */

type_1  [16] std::wstreambuf::pubseekoff(long *param_1)

{
  type_1 auVar1 [16];
  
  if (*(type_2 **)(*param_1 + 0x20) == (type_2 *)PTR_seekoff_0045be90) {
    return var_1(0xffffffffffffffff);
  }
                    /* WARNING: Could not recover jumptable at 0x002fbf50. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  auVar1 = (**(type_2 **)(*param_1 + 0x20))();
  return auVar1;
}


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

undefined1  [16] MASKED(long *param_1)

{
  undefined1 auVar1 [16];
  
  if (*(code **)(*param_1 + 0x20) == (code *)PTR_FUN_0045be90) {
    return ZEXT816(0xffffffffffffffff);
  }
                    /* WARNING: Could not recover jumptable at 0x002fbf50. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  auVar1 = (**(code **)(*param_1 + 0x20))();
  return auVar1;
}

