
/* std::istream::tellg() */

undefined1  [16] __thiscall std::istream::tellg(istream *this)

{
  undefined8 uVar1;
  ulong uVar2;
  ulong uVar3;
  undefined1 auVar4 [16];
  sentry local_9;
  
  sentry::sentry(&local_9,this,true);
  if ((local_9 == (sentry)0x0) || (((byte)this[*(long *)(*(long *)this + -0x18) + 0x20] & 5) != 0))
  {
    uVar2 = 0;
    uVar3 = 0;
    uVar1 = 0xffffffffffffffff;
  }
  else {
                    /* try { // try from 002fc487 to 002fc489 has its CatchHandler @ 002fc4b5 */
    auVar4 = (**(code **)(**(long **)(this + *(long *)(*(long *)this + -0x18) + 0xe8) + 0x20))
                       (*(long **)(this + *(long *)(*(long *)this + -0x18) + 0xe8),0,1,8);
    uVar1 = auVar4._0_8_;
    uVar3 = auVar4._8_8_ & 0xffffffff;
    uVar2 = auVar4._8_8_ >> 0x20;
  }
  auVar4._8_8_ = uVar3 | uVar2 << 0x20;
  auVar4._0_8_ = uVar1;
  return auVar4;
}



undefined1  [16] FUN_002fc440(long *param_1)

{
  long *plVar1;
  undefined8 uVar2;
  ulong uVar3;
  ulong uVar4;
  undefined1 auVar5 [16];
  char local_9;
  
  FUN_002faf20(&local_9,param_1,1);
  if ((local_9 == '\0') ||
     ((*(byte *)((long)param_1 + *(long *)(*param_1 + -0x18) + 0x20) & 5) != 0)) {
    uVar3 = 0;
    uVar4 = 0;
    uVar2 = 0xffffffffffffffff;
  }
  else {
    plVar1 = *(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xe8);
                    /* try { // try from 002fc487 to 002fc489 has its CatchHandler @ 002fc4b5 */
    auVar5 = (**(code **)(*plVar1 + 0x20))(plVar1,0,1,8);
    uVar2 = auVar5._0_8_;
    uVar4 = auVar5._8_8_ & 0xffffffff;
    uVar3 = auVar5._8_8_ >> 0x20;
  }
  auVar5._8_8_ = uVar4 | uVar3 << 0x20;
  auVar5._0_8_ = uVar2;
  return auVar5;
}


PUSH RBX
MOV RBX,RDI
MOV EDX,0x1
MOV RSI,RBX
SUB RSP,0x10
LEA RDI,[RSP + 0xf]
CALL 0x002faf20
CMP byte ptr [RSP + 0xf],0x0
JZ 0x002fc498
MOV RAX,qword ptr [RBX]
MOV RSI,qword ptr [RAX + -0x18]
ADD RSI,RBX
TEST byte ptr [RSI + 0x20],0x5
JNZ 0x002fc498
MOV RDI,qword ptr [RSI + 0xe8]
MOV ECX,0x8
MOV EDX,0x1
XOR ESI,ESI
MOV RAX,qword ptr [RDI]
CALL qword ptr [RAX + 0x20]
MOV EBX,EDX
SHR RDX,0x20
JMP 0x002fc4a3
XOR EDX,EDX
XOR EBX,EBX
MOV RAX,-0x1
MOV RCX,RDX
ADD RSP,0x10
MOV EDX,EBX
SHL RCX,0x20
POP RBX
OR RDX,RCX
RET
(translation_unit "undefined1  [16] FUN_002fc440(long *param_1)\n\n{\n  long *plVar1;\n  undefined8 uVar2;\n  ulong uVar3;\n  ulong uVar4;\n  undefined1 auVar5 [16];\n  char local_9;\n  \n  FUN_002faf20(&local_9,param_1,1);\n  if ((local_9 == '\0') ||\n     ((*(byte *)((long)param_1 + *(long *)(*param_1 + -0x18) + 0x20) & 5) != 0)) {\n    uVar3 = 0;\n    uVar4 = 0;\n    uVar2 = 0xffffffffffffffff;\n  }\n  else {\n    plVar1 = *(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xe8);\n                    /* try { // try from 002fc487 to 002fc489 has its CatchHandler @ 002fc4b5 */\n    auVar5 = (**(code **)(*plVar1 + 0x20))(plVar1,0,1,8);\n    uVar2 = auVar5._0_8_;\n    uVar4 = auVar5._8_8_ & 0xffffffff;\n    uVar3 = auVar5._8_8_ >> 0x20;\n  }\n  auVar5._8_8_ = uVar4 | uVar3 << 0x20;\n  auVar5._0_8_ = uVar2;\n  return auVar5;\n}\n\n" (expression_statement "undefined1  [16]" (subscript_expression "undefined1  [16]" identifier [ number_literal ]) ;) (expression_statement "FUN_002fc440(long *param_1)" (call_expression "FUN_002fc440(long *param_1)" identifier (argument_list "(long *param_1)" ( (binary_expression "long *param_1" identifier * identifier) ))) ;) (compound_statement "{\n  long *plVar1;\n  undefined8 uVar2;\n  ulong uVar3;\n  ulong uVar4;\n  undefined1 auVar5 [16];\n  char local_9;\n  \n  FUN_002faf20(&local_9,param_1,1);\n  if ((local_9 == '\0') ||\n     ((*(byte *)((long)param_1 + *(long *)(*param_1 + -0x18) + 0x20) & 5) != 0)) {\n    uVar3 = 0;\n    uVar4 = 0;\n    uVar2 = 0xffffffffffffffff;\n  }\n  else {\n    plVar1 = *(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xe8);\n                    /* try { // try from 002fc487 to 002fc489 has its CatchHandler @ 002fc4b5 */\n    auVar5 = (**(code **)(*plVar1 + 0x20))(plVar1,0,1,8);\n    uVar2 = auVar5._0_8_;\n    uVar4 = auVar5._8_8_ & 0xffffffff;\n    uVar3 = auVar5._8_8_ >> 0x20;\n  }\n  auVar5._8_8_ = uVar4 | uVar3 << 0x20;\n  auVar5._0_8_ = uVar2;\n  return auVar5;\n}" { (declaration "long *plVar1;" (sized_type_specifier "long" long) (pointer_declarator "*plVar1" * identifier) ;) (declaration "undefined8 uVar2;" type_identifier identifier ;) (declaration "ulong uVar3;" type_identifier identifier ;) (declaration "ulong uVar4;" type_identifier identifier ;) (declaration "undefined1 auVar5 [16];" type_identifier (array_declarator "auVar5 [16]" identifier [ number_literal ]) ;) (declaration "char local_9;" primitive_type identifier ;) (expression_statement "FUN_002faf20(&local_9,param_1,1);" (call_expression "FUN_002faf20(&local_9,param_1,1)" identifier (argument_list "(&local_9,param_1,1)" ( (pointer_expression "&local_9" & identifier) , identifier , number_literal ))) ;) (if_statement "if ((local_9 == '\0') ||\n     ((*(byte *)((long)param_1 + *(long *)(*param_1 + -0x18) + 0x20) & 5) != 0)) {\n    uVar3 = 0;\n    uVar4 = 0;\n    uVar2 = 0xffffffffffffffff;\n  }\n  else {\n    plVar1 = *(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xe8);\n                    /* try { // try from 002fc487 to 002fc489 has its CatchHandler @ 002fc4b5 */\n    auVar5 = (**(code **)(*plVar1 + 0x20))(plVar1,0,1,8);\n    uVar2 = auVar5._0_8_;\n    uVar4 = auVar5._8_8_ & 0xffffffff;\n    uVar3 = auVar5._8_8_ >> 0x20;\n  }" if (parenthesized_expression "((local_9 == '\0') ||\n     ((*(byte *)((long)param_1 + *(long *)(*param_1 + -0x18) + 0x20) & 5) != 0))" ( (binary_expression "(local_9 == '\0') ||\n     ((*(byte *)((long)param_1 + *(long *)(*param_1 + -0x18) + 0x20) & 5) != 0)" (parenthesized_expression "(local_9 == '\0')" ( (binary_expression "local_9 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) || (parenthesized_expression "((*(byte *)((long)param_1 + *(long *)(*param_1 + -0x18) + 0x20) & 5) != 0)" ( (binary_expression "(*(byte *)((long)param_1 + *(long *)(*param_1 + -0x18) + 0x20) & 5) != 0" (parenthesized_expression "(*(byte *)((long)param_1 + *(long *)(*param_1 + -0x18) + 0x20) & 5)" ( (binary_expression "*(byte *)((long)param_1 + *(long *)(*param_1 + -0x18) + 0x20) & 5" (pointer_expression "*(byte *)((long)param_1 + *(long *)(*param_1 + -0x18) + 0x20)" * (cast_expression "(byte *)((long)param_1 + *(long *)(*param_1 + -0x18) + 0x20)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + *(long *)(*param_1 + -0x18) + 0x20)" ( (binary_expression "(long)param_1 + *(long *)(*param_1 + -0x18) + 0x20" (binary_expression "(long)param_1 + *(long *)(*param_1 + -0x18)" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + (pointer_expression "*(long *)(*param_1 + -0x18)" * (cast_expression "(long *)(*param_1 + -0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + -0x18)" ( (binary_expression "*param_1 + -0x18" (pointer_expression "*param_1" * identifier) + number_literal) ))))) + number_literal) )))) & number_literal) )) != number_literal) ))) )) (compound_statement "{\n    uVar3 = 0;\n    uVar4 = 0;\n    uVar2 = 0xffffffffffffffff;\n  }" { (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) (expression_statement "uVar2 = 0xffffffffffffffff;" (assignment_expression "uVar2 = 0xffffffffffffffff" identifier = number_literal) ;) }) (else_clause "else {\n    plVar1 = *(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xe8);\n                    /* try { // try from 002fc487 to 002fc489 has its CatchHandler @ 002fc4b5 */\n    auVar5 = (**(code **)(*plVar1 + 0x20))(plVar1,0,1,8);\n    uVar2 = auVar5._0_8_;\n    uVar4 = auVar5._8_8_ & 0xffffffff;\n    uVar3 = auVar5._8_8_ >> 0x20;\n  }" else (compound_statement "{\n    plVar1 = *(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xe8);\n                    /* try { // try from 002fc487 to 002fc489 has its CatchHandler @ 002fc4b5 */\n    auVar5 = (**(code **)(*plVar1 + 0x20))(plVar1,0,1,8);\n    uVar2 = auVar5._0_8_;\n    uVar4 = auVar5._8_8_ & 0xffffffff;\n    uVar3 = auVar5._8_8_ >> 0x20;\n  }" { (expression_statement "plVar1 = *(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xe8);" (assignment_expression "plVar1 = *(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xe8)" identifier = (pointer_expression "*(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xe8)" * (cast_expression "(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xe8)" ( (type_descriptor "long **" (sized_type_specifier "long" long) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((long)param_1 + *(long *)(*param_1 + -0x18) + 0xe8)" ( (binary_expression "(long)param_1 + *(long *)(*param_1 + -0x18) + 0xe8" (binary_expression "(long)param_1 + *(long *)(*param_1 + -0x18)" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + (pointer_expression "*(long *)(*param_1 + -0x18)" * (cast_expression "(long *)(*param_1 + -0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + -0x18)" ( (binary_expression "*param_1 + -0x18" (pointer_expression "*param_1" * identifier) + number_literal) ))))) + number_literal) ))))) ;) comment (expression_statement "auVar5 = (**(code **)(*plVar1 + 0x20))(plVar1,0,1,8);" (assignment_expression "auVar5 = (**(code **)(*plVar1 + 0x20))(plVar1,0,1,8)" identifier = (call_expression "(**(code **)(*plVar1 + 0x20))(plVar1,0,1,8)" (parenthesized_expression "(**(code **)(*plVar1 + 0x20))" ( (pointer_expression "**(code **)(*plVar1 + 0x20)" * (pointer_expression "*(code **)(*plVar1 + 0x20)" * (cast_expression "(code **)(*plVar1 + 0x20)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*plVar1 + 0x20)" ( (binary_expression "*plVar1 + 0x20" (pointer_expression "*plVar1" * identifier) + number_literal) ))))) )) (argument_list "(plVar1,0,1,8)" ( identifier , number_literal , number_literal , number_literal )))) ;) (expression_statement "uVar2 = auVar5._0_8_;" (assignment_expression "uVar2 = auVar5._0_8_" identifier = (field_expression "auVar5._0_8_" identifier . field_identifier)) ;) (expression_statement "uVar4 = auVar5._8_8_ & 0xffffffff;" (assignment_expression "uVar4 = auVar5._8_8_ & 0xffffffff" identifier = (binary_expression "auVar5._8_8_ & 0xffffffff" (field_expression "auVar5._8_8_" identifier . field_identifier) & number_literal)) ;) (expression_statement "uVar3 = auVar5._8_8_ >> 0x20;" (assignment_expression "uVar3 = auVar5._8_8_ >> 0x20" identifier = (binary_expression "auVar5._8_8_ >> 0x20" (field_expression "auVar5._8_8_" identifier . field_identifier) >> number_literal)) ;) }))) (expression_statement "auVar5._8_8_ = uVar4 | uVar3 << 0x20;" (assignment_expression "auVar5._8_8_ = uVar4 | uVar3 << 0x20" (field_expression "auVar5._8_8_" identifier . field_identifier) = (binary_expression "uVar4 | uVar3 << 0x20" identifier | (binary_expression "uVar3 << 0x20" identifier << number_literal))) ;) (expression_statement "auVar5._0_8_ = uVar2;" (assignment_expression "auVar5._0_8_ = uVar2" (field_expression "auVar5._0_8_" identifier . field_identifier) = identifier) ;) (return_statement "return auVar5;" return identifier ;) }))
(translation_unit "/* std::istream::tellg() */\n\nundefined1  [16] __thiscall std::istream::tellg(istream *this)\n\n{\n  undefined8 uVar1;\n  ulong uVar2;\n  ulong uVar3;\n  undefined1 auVar4 [16];\n  sentry local_9;\n  \n  sentry::sentry(&local_9,this,true);\n  if ((local_9 == (sentry)0x0) || (((byte)this[*(long *)(*(long *)this + -0x18) + 0x20] & 5) != 0))\n  {\n    uVar2 = 0;\n    uVar3 = 0;\n    uVar1 = 0xffffffffffffffff;\n  }\n  else {\n                    /* try { // try from 002fc487 to 002fc489 has its CatchHandler @ 002fc4b5 */\n    auVar4 = (**(code **)(**(long **)(this + *(long *)(*(long *)this + -0x18) + 0xe8) + 0x20))\n                       (*(long **)(this + *(long *)(*(long *)this + -0x18) + 0xe8),0,1,8);\n    uVar1 = auVar4._0_8_;\n    uVar3 = auVar4._8_8_ & 0xffffffff;\n    uVar2 = auVar4._8_8_ >> 0x20;\n  }\n  auVar4._8_8_ = uVar3 | uVar2 << 0x20;\n  auVar4._0_8_ = uVar1;\n  return auVar4;\n}\n\n" comment (ERROR "undefined1  [16] __thiscall" (subscript_expression "undefined1  [16]" identifier [ number_literal ]) identifier) (labeled_statement "std::istream::tellg(istream *this)\n\n{\n  undefined8 uVar1;\n  ulong uVar2;\n  ulong uVar3;\n  undefined1 auVar4 [16];\n  sentry local_9;\n  \n  sentry::sentry(&local_9,this,true);\n  if ((local_9 == (sentry)0x0) || (((byte)this[*(long *)(*(long *)this + -0x18) + 0x20] & 5) != 0))\n  {\n    uVar2 = 0;\n    uVar3 = 0;\n    uVar1 = 0xffffffffffffffff;\n  }\n  else {\n                    /* try { // try from 002fc487 to 002fc489 has its CatchHandler @ 002fc4b5 */\n    auVar4 = (**(code **)(**(long **)(this + *(long *)(*(long *)this + -0x18) + 0xe8) + 0x20))\n                       (*(long **)(this + *(long *)(*(long *)this + -0x18) + 0xe8),0,1,8);\n    uVar1 = auVar4._0_8_;\n    uVar3 = auVar4._8_8_ & 0xffffffff;\n    uVar2 = auVar4._8_8_ >> 0x20;\n  }\n  auVar4._8_8_ = uVar3 | uVar2 << 0x20;\n  auVar4._0_8_ = uVar1;\n  return auVar4;\n}" statement_identifier : (ERROR ":" :) (labeled_statement "istream::tellg(istream *this)\n\n{\n  undefined8 uVar1;\n  ulong uVar2;\n  ulong uVar3;\n  undefined1 auVar4 [16];\n  sentry local_9;\n  \n  sentry::sentry(&local_9,this,true);\n  if ((local_9 == (sentry)0x0) || (((byte)this[*(long *)(*(long *)this + -0x18) + 0x20] & 5) != 0))\n  {\n    uVar2 = 0;\n    uVar3 = 0;\n    uVar1 = 0xffffffffffffffff;\n  }\n  else {\n                    /* try { // try from 002fc487 to 002fc489 has its CatchHandler @ 002fc4b5 */\n    auVar4 = (**(code **)(**(long **)(this + *(long *)(*(long *)this + -0x18) + 0xe8) + 0x20))\n                       (*(long **)(this + *(long *)(*(long *)this + -0x18) + 0xe8),0,1,8);\n    uVar1 = auVar4._0_8_;\n    uVar3 = auVar4._8_8_ & 0xffffffff;\n    uVar2 = auVar4._8_8_ >> 0x20;\n  }\n  auVar4._8_8_ = uVar3 | uVar2 << 0x20;\n  auVar4._0_8_ = uVar1;\n  return auVar4;\n}" statement_identifier : (ERROR ":tellg(istream *this)" : (call_expression "tellg(istream *this)" identifier (argument_list "(istream *this)" ( (binary_expression "istream *this" identifier * identifier) )))) (compound_statement "{\n  undefined8 uVar1;\n  ulong uVar2;\n  ulong uVar3;\n  undefined1 auVar4 [16];\n  sentry local_9;\n  \n  sentry::sentry(&local_9,this,true);\n  if ((local_9 == (sentry)0x0) || (((byte)this[*(long *)(*(long *)this + -0x18) + 0x20] & 5) != 0))\n  {\n    uVar2 = 0;\n    uVar3 = 0;\n    uVar1 = 0xffffffffffffffff;\n  }\n  else {\n                    /* try { // try from 002fc487 to 002fc489 has its CatchHandler @ 002fc4b5 */\n    auVar4 = (**(code **)(**(long **)(this + *(long *)(*(long *)this + -0x18) + 0xe8) + 0x20))\n                       (*(long **)(this + *(long *)(*(long *)this + -0x18) + 0xe8),0,1,8);\n    uVar1 = auVar4._0_8_;\n    uVar3 = auVar4._8_8_ & 0xffffffff;\n    uVar2 = auVar4._8_8_ >> 0x20;\n  }\n  auVar4._8_8_ = uVar3 | uVar2 << 0x20;\n  auVar4._0_8_ = uVar1;\n  return auVar4;\n}" { (declaration "undefined8 uVar1;" type_identifier identifier ;) (declaration "ulong uVar2;" type_identifier identifier ;) (declaration "ulong uVar3;" type_identifier identifier ;) (declaration "undefined1 auVar4 [16];" type_identifier (array_declarator "auVar4 [16]" identifier [ number_literal ]) ;) (declaration "sentry local_9;" type_identifier identifier ;) (labeled_statement "sentry::sentry(&local_9,this,true);" statement_identifier : (ERROR ":" :) (expression_statement "sentry(&local_9,this,true);" (call_expression "sentry(&local_9,this,true)" identifier (argument_list "(&local_9,this,true)" ( (pointer_expression "&local_9" & identifier) , identifier , true ))) ;)) (if_statement "if ((local_9 == (sentry)0x0) || (((byte)this[*(long *)(*(long *)this + -0x18) + 0x20] & 5) != 0))\n  {\n    uVar2 = 0;\n    uVar3 = 0;\n    uVar1 = 0xffffffffffffffff;\n  }\n  else {\n                    /* try { // try from 002fc487 to 002fc489 has its CatchHandler @ 002fc4b5 */\n    auVar4 = (**(code **)(**(long **)(this + *(long *)(*(long *)this + -0x18) + 0xe8) + 0x20))\n                       (*(long **)(this + *(long *)(*(long *)this + -0x18) + 0xe8),0,1,8);\n    uVar1 = auVar4._0_8_;\n    uVar3 = auVar4._8_8_ & 0xffffffff;\n    uVar2 = auVar4._8_8_ >> 0x20;\n  }" if (parenthesized_expression "((local_9 == (sentry)0x0) || (((byte)this[*(long *)(*(long *)this + -0x18) + 0x20] & 5) != 0))" ( (binary_expression "(local_9 == (sentry)0x0) || (((byte)this[*(long *)(*(long *)this + -0x18) + 0x20] & 5) != 0)" (parenthesized_expression "(local_9 == (sentry)0x0)" ( (binary_expression "local_9 == (sentry)0x0" identifier == (cast_expression "(sentry)0x0" ( (type_descriptor "sentry" type_identifier) ) number_literal)) )) || (parenthesized_expression "(((byte)this[*(long *)(*(long *)this + -0x18) + 0x20] & 5) != 0)" ( (binary_expression "((byte)this[*(long *)(*(long *)this + -0x18) + 0x20] & 5) != 0" (parenthesized_expression "((byte)this[*(long *)(*(long *)this + -0x18) + 0x20] & 5)" ( (binary_expression "(byte)this[*(long *)(*(long *)this + -0x18) + 0x20] & 5" (cast_expression "(byte)this[*(long *)(*(long *)this + -0x18) + 0x20]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "this[*(long *)(*(long *)this + -0x18) + 0x20]" identifier [ (binary_expression "*(long *)(*(long *)this + -0x18) + 0x20" (pointer_expression "*(long *)(*(long *)this + -0x18)" * (cast_expression "(long *)(*(long *)this + -0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)this + -0x18)" ( (binary_expression "*(long *)this + -0x18" (pointer_expression "*(long *)this" * (cast_expression "(long *)this" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) )))) + number_literal) ])) & number_literal) )) != number_literal) ))) )) (compound_statement "{\n    uVar2 = 0;\n    uVar3 = 0;\n    uVar1 = 0xffffffffffffffff;\n  }" { (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) (expression_statement "uVar1 = 0xffffffffffffffff;" (assignment_expression "uVar1 = 0xffffffffffffffff" identifier = number_literal) ;) }) (else_clause "else {\n                    /* try { // try from 002fc487 to 002fc489 has its CatchHandler @ 002fc4b5 */\n    auVar4 = (**(code **)(**(long **)(this + *(long *)(*(long *)this + -0x18) + 0xe8) + 0x20))\n                       (*(long **)(this + *(long *)(*(long *)this + -0x18) + 0xe8),0,1,8);\n    uVar1 = auVar4._0_8_;\n    uVar3 = auVar4._8_8_ & 0xffffffff;\n    uVar2 = auVar4._8_8_ >> 0x20;\n  }" else (compound_statement "{\n                    /* try { // try from 002fc487 to 002fc489 has its CatchHandler @ 002fc4b5 */\n    auVar4 = (**(code **)(**(long **)(this + *(long *)(*(long *)this + -0x18) + 0xe8) + 0x20))\n                       (*(long **)(this + *(long *)(*(long *)this + -0x18) + 0xe8),0,1,8);\n    uVar1 = auVar4._0_8_;\n    uVar3 = auVar4._8_8_ & 0xffffffff;\n    uVar2 = auVar4._8_8_ >> 0x20;\n  }" { comment (expression_statement "auVar4 = (**(code **)(**(long **)(this + *(long *)(*(long *)this + -0x18) + 0xe8) + 0x20))\n                       (*(long **)(this + *(long *)(*(long *)this + -0x18) + 0xe8),0,1,8);" (assignment_expression "auVar4 = (**(code **)(**(long **)(this + *(long *)(*(long *)this + -0x18) + 0xe8) + 0x20))\n                       (*(long **)(this + *(long *)(*(long *)this + -0x18) + 0xe8),0,1,8)" identifier = (call_expression "(**(code **)(**(long **)(this + *(long *)(*(long *)this + -0x18) + 0xe8) + 0x20))\n                       (*(long **)(this + *(long *)(*(long *)this + -0x18) + 0xe8),0,1,8)" (parenthesized_expression "(**(code **)(**(long **)(this + *(long *)(*(long *)this + -0x18) + 0xe8) + 0x20))" ( (pointer_expression "**(code **)(**(long **)(this + *(long *)(*(long *)this + -0x18) + 0xe8) + 0x20)" * (pointer_expression "*(code **)(**(long **)(this + *(long *)(*(long *)this + -0x18) + 0xe8) + 0x20)" * (cast_expression "(code **)(**(long **)(this + *(long *)(*(long *)this + -0x18) + 0xe8) + 0x20)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(**(long **)(this + *(long *)(*(long *)this + -0x18) + 0xe8) + 0x20)" ( (binary_expression "**(long **)(this + *(long *)(*(long *)this + -0x18) + 0xe8) + 0x20" (pointer_expression "**(long **)(this + *(long *)(*(long *)this + -0x18) + 0xe8)" * (pointer_expression "*(long **)(this + *(long *)(*(long *)this + -0x18) + 0xe8)" * (cast_expression "(long **)(this + *(long *)(*(long *)this + -0x18) + 0xe8)" ( (type_descriptor "long **" (sized_type_specifier "long" long) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + *(long *)(*(long *)this + -0x18) + 0xe8)" ( (binary_expression "this + *(long *)(*(long *)this + -0x18) + 0xe8" (binary_expression "this + *(long *)(*(long *)this + -0x18)" identifier + (pointer_expression "*(long *)(*(long *)this + -0x18)" * (cast_expression "(long *)(*(long *)this + -0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)this + -0x18)" ( (binary_expression "*(long *)this + -0x18" (pointer_expression "*(long *)this" * (cast_expression "(long *)this" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) ))))) + number_literal) ))))) + number_literal) ))))) )) (argument_list "(*(long **)(this + *(long *)(*(long *)this + -0x18) + 0xe8),0,1,8)" ( (pointer_expression "*(long **)(this + *(long *)(*(long *)this + -0x18) + 0xe8)" * (cast_expression "(long **)(this + *(long *)(*(long *)this + -0x18) + 0xe8)" ( (type_descriptor "long **" (sized_type_specifier "long" long) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + *(long *)(*(long *)this + -0x18) + 0xe8)" ( (binary_expression "this + *(long *)(*(long *)this + -0x18) + 0xe8" (binary_expression "this + *(long *)(*(long *)this + -0x18)" identifier + (pointer_expression "*(long *)(*(long *)this + -0x18)" * (cast_expression "(long *)(*(long *)this + -0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)this + -0x18)" ( (binary_expression "*(long *)this + -0x18" (pointer_expression "*(long *)this" * (cast_expression "(long *)this" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) ))))) + number_literal) )))) , number_literal , number_literal , number_literal )))) ;) (expression_statement "uVar1 = auVar4._0_8_;" (assignment_expression "uVar1 = auVar4._0_8_" identifier = (field_expression "auVar4._0_8_" identifier . field_identifier)) ;) (expression_statement "uVar3 = auVar4._8_8_ & 0xffffffff;" (assignment_expression "uVar3 = auVar4._8_8_ & 0xffffffff" identifier = (binary_expression "auVar4._8_8_ & 0xffffffff" (field_expression "auVar4._8_8_" identifier . field_identifier) & number_literal)) ;) (expression_statement "uVar2 = auVar4._8_8_ >> 0x20;" (assignment_expression "uVar2 = auVar4._8_8_ >> 0x20" identifier = (binary_expression "auVar4._8_8_ >> 0x20" (field_expression "auVar4._8_8_" identifier . field_identifier) >> number_literal)) ;) }))) (expression_statement "auVar4._8_8_ = uVar3 | uVar2 << 0x20;" (assignment_expression "auVar4._8_8_ = uVar3 | uVar2 << 0x20" (field_expression "auVar4._8_8_" identifier . field_identifier) = (binary_expression "uVar3 | uVar2 << 0x20" identifier | (binary_expression "uVar2 << 0x20" identifier << number_literal))) ;) (expression_statement "auVar4._0_8_ = uVar1;" (assignment_expression "auVar4._0_8_ = uVar1" (field_expression "auVar4._0_8_" identifier . field_identifier) = identifier) ;) (return_statement "return auVar4;" return identifier ;) }))))
(translation_unit "undefined1  [16] FUN_002fc440(long *param_1)\n\n{\n  long *plVar1;\n  undefined8 uVar2;\n  ulong uVar3;\n  ulong uVar4;\n  undefined1 auVar5 [16];\n  char local_9;\n  \n  FUN_002faf20(&local_9,param_1,1);\n  if ((local_9 == '\0') ||\n     ((*(byte *)((long)param_1 + *(long *)(*param_1 + -0x18) + 0x20) & 5) != 0)) {\n    uVar3 = 0;\n    uVar4 = 0;\n    uVar2 = 0xffffffffffffffff;\n  }\n  else {\n    plVar1 = *(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xe8);\n                    \n    auVar5 = (**(code **)(*plVar1 + 0x20))(plVar1,0,1,8);\n    uVar2 = auVar5._0_8_;\n    uVar4 = auVar5._8_8_ & 0xffffffff;\n    uVar3 = auVar5._8_8_ >> 0x20;\n  }\n  auVar5._8_8_ = uVar4 | uVar3 << 0x20;\n  auVar5._0_8_ = uVar2;\n  return auVar5;\n}\n\n" (expression_statement "undefined1  [16]" (subscript_expression "undefined1  [16]" identifier [ number_literal ]) ;) (expression_statement "FUN_002fc440(long *param_1)" (call_expression "FUN_002fc440(long *param_1)" identifier (argument_list "(long *param_1)" ( (binary_expression "long *param_1" identifier * identifier) ))) ;) (compound_statement "{\n  long *plVar1;\n  undefined8 uVar2;\n  ulong uVar3;\n  ulong uVar4;\n  undefined1 auVar5 [16];\n  char local_9;\n  \n  FUN_002faf20(&local_9,param_1,1);\n  if ((local_9 == '\0') ||\n     ((*(byte *)((long)param_1 + *(long *)(*param_1 + -0x18) + 0x20) & 5) != 0)) {\n    uVar3 = 0;\n    uVar4 = 0;\n    uVar2 = 0xffffffffffffffff;\n  }\n  else {\n    plVar1 = *(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xe8);\n                    \n    auVar5 = (**(code **)(*plVar1 + 0x20))(plVar1,0,1,8);\n    uVar2 = auVar5._0_8_;\n    uVar4 = auVar5._8_8_ & 0xffffffff;\n    uVar3 = auVar5._8_8_ >> 0x20;\n  }\n  auVar5._8_8_ = uVar4 | uVar3 << 0x20;\n  auVar5._0_8_ = uVar2;\n  return auVar5;\n}" { (declaration "long *plVar1;" (sized_type_specifier "long" long) (pointer_declarator "*plVar1" * identifier) ;) (declaration "undefined8 uVar2;" type_identifier identifier ;) (declaration "ulong uVar3;" type_identifier identifier ;) (declaration "ulong uVar4;" type_identifier identifier ;) (declaration "undefined1 auVar5 [16];" type_identifier (array_declarator "auVar5 [16]" identifier [ number_literal ]) ;) (declaration "char local_9;" primitive_type identifier ;) (expression_statement "FUN_002faf20(&local_9,param_1,1);" (call_expression "FUN_002faf20(&local_9,param_1,1)" identifier (argument_list "(&local_9,param_1,1)" ( (pointer_expression "&local_9" & identifier) , identifier , number_literal ))) ;) (if_statement "if ((local_9 == '\0') ||\n     ((*(byte *)((long)param_1 + *(long *)(*param_1 + -0x18) + 0x20) & 5) != 0)) {\n    uVar3 = 0;\n    uVar4 = 0;\n    uVar2 = 0xffffffffffffffff;\n  }\n  else {\n    plVar1 = *(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xe8);\n                    \n    auVar5 = (**(code **)(*plVar1 + 0x20))(plVar1,0,1,8);\n    uVar2 = auVar5._0_8_;\n    uVar4 = auVar5._8_8_ & 0xffffffff;\n    uVar3 = auVar5._8_8_ >> 0x20;\n  }" if (parenthesized_expression "((local_9 == '\0') ||\n     ((*(byte *)((long)param_1 + *(long *)(*param_1 + -0x18) + 0x20) & 5) != 0))" ( (binary_expression "(local_9 == '\0') ||\n     ((*(byte *)((long)param_1 + *(long *)(*param_1 + -0x18) + 0x20) & 5) != 0)" (parenthesized_expression "(local_9 == '\0')" ( (binary_expression "local_9 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) || (parenthesized_expression "((*(byte *)((long)param_1 + *(long *)(*param_1 + -0x18) + 0x20) & 5) != 0)" ( (binary_expression "(*(byte *)((long)param_1 + *(long *)(*param_1 + -0x18) + 0x20) & 5) != 0" (parenthesized_expression "(*(byte *)((long)param_1 + *(long *)(*param_1 + -0x18) + 0x20) & 5)" ( (binary_expression "*(byte *)((long)param_1 + *(long *)(*param_1 + -0x18) + 0x20) & 5" (pointer_expression "*(byte *)((long)param_1 + *(long *)(*param_1 + -0x18) + 0x20)" * (cast_expression "(byte *)((long)param_1 + *(long *)(*param_1 + -0x18) + 0x20)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + *(long *)(*param_1 + -0x18) + 0x20)" ( (binary_expression "(long)param_1 + *(long *)(*param_1 + -0x18) + 0x20" (binary_expression "(long)param_1 + *(long *)(*param_1 + -0x18)" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + (pointer_expression "*(long *)(*param_1 + -0x18)" * (cast_expression "(long *)(*param_1 + -0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + -0x18)" ( (binary_expression "*param_1 + -0x18" (pointer_expression "*param_1" * identifier) + number_literal) ))))) + number_literal) )))) & number_literal) )) != number_literal) ))) )) (compound_statement "{\n    uVar3 = 0;\n    uVar4 = 0;\n    uVar2 = 0xffffffffffffffff;\n  }" { (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) (expression_statement "uVar2 = 0xffffffffffffffff;" (assignment_expression "uVar2 = 0xffffffffffffffff" identifier = number_literal) ;) }) (else_clause "else {\n    plVar1 = *(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xe8);\n                    \n    auVar5 = (**(code **)(*plVar1 + 0x20))(plVar1,0,1,8);\n    uVar2 = auVar5._0_8_;\n    uVar4 = auVar5._8_8_ & 0xffffffff;\n    uVar3 = auVar5._8_8_ >> 0x20;\n  }" else (compound_statement "{\n    plVar1 = *(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xe8);\n                    \n    auVar5 = (**(code **)(*plVar1 + 0x20))(plVar1,0,1,8);\n    uVar2 = auVar5._0_8_;\n    uVar4 = auVar5._8_8_ & 0xffffffff;\n    uVar3 = auVar5._8_8_ >> 0x20;\n  }" { (expression_statement "plVar1 = *(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xe8);" (assignment_expression "plVar1 = *(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xe8)" identifier = (pointer_expression "*(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xe8)" * (cast_expression "(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xe8)" ( (type_descriptor "long **" (sized_type_specifier "long" long) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((long)param_1 + *(long *)(*param_1 + -0x18) + 0xe8)" ( (binary_expression "(long)param_1 + *(long *)(*param_1 + -0x18) + 0xe8" (binary_expression "(long)param_1 + *(long *)(*param_1 + -0x18)" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + (pointer_expression "*(long *)(*param_1 + -0x18)" * (cast_expression "(long *)(*param_1 + -0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + -0x18)" ( (binary_expression "*param_1 + -0x18" (pointer_expression "*param_1" * identifier) + number_literal) ))))) + number_literal) ))))) ;) (expression_statement "auVar5 = (**(code **)(*plVar1 + 0x20))(plVar1,0,1,8);" (assignment_expression "auVar5 = (**(code **)(*plVar1 + 0x20))(plVar1,0,1,8)" identifier = (call_expression "(**(code **)(*plVar1 + 0x20))(plVar1,0,1,8)" (parenthesized_expression "(**(code **)(*plVar1 + 0x20))" ( (pointer_expression "**(code **)(*plVar1 + 0x20)" * (pointer_expression "*(code **)(*plVar1 + 0x20)" * (cast_expression "(code **)(*plVar1 + 0x20)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*plVar1 + 0x20)" ( (binary_expression "*plVar1 + 0x20" (pointer_expression "*plVar1" * identifier) + number_literal) ))))) )) (argument_list "(plVar1,0,1,8)" ( identifier , number_literal , number_literal , number_literal )))) ;) (expression_statement "uVar2 = auVar5._0_8_;" (assignment_expression "uVar2 = auVar5._0_8_" identifier = (field_expression "auVar5._0_8_" identifier . field_identifier)) ;) (expression_statement "uVar4 = auVar5._8_8_ & 0xffffffff;" (assignment_expression "uVar4 = auVar5._8_8_ & 0xffffffff" identifier = (binary_expression "auVar5._8_8_ & 0xffffffff" (field_expression "auVar5._8_8_" identifier . field_identifier) & number_literal)) ;) (expression_statement "uVar3 = auVar5._8_8_ >> 0x20;" (assignment_expression "uVar3 = auVar5._8_8_ >> 0x20" identifier = (binary_expression "auVar5._8_8_ >> 0x20" (field_expression "auVar5._8_8_" identifier . field_identifier) >> number_literal)) ;) }))) (expression_statement "auVar5._8_8_ = uVar4 | uVar3 << 0x20;" (assignment_expression "auVar5._8_8_ = uVar4 | uVar3 << 0x20" (field_expression "auVar5._8_8_" identifier . field_identifier) = (binary_expression "uVar4 | uVar3 << 0x20" identifier | (binary_expression "uVar3 << 0x20" identifier << number_literal))) ;) (expression_statement "auVar5._0_8_ = uVar2;" (assignment_expression "auVar5._0_8_ = uVar2" (field_expression "auVar5._0_8_" identifier . field_identifier) = identifier) ;) (return_statement "return auVar5;" return identifier ;) }))
(translation_unit (expression_statement (subscript_expression IDENT [ LIT ]) ;) (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT * IDENT) ))) ;) (compound_statement { (declaration (sized_type_specifier long) (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , IDENT , LIT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) )) || (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) + LIT) )))) & LIT) )) != LIT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) + 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 ( IDENT , LIT , LIT , LIT )))) ;) (expression_statement (assignment_expression IDENT = (field_expression IDENT . field_identifier)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (field_expression IDENT . field_identifier) & LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (field_expression IDENT . field_identifier) >> LIT)) ;) }))) (expression_statement (assignment_expression (field_expression IDENT . field_identifier) = (binary_expression IDENT | (binary_expression IDENT << LIT))) ;) (expression_statement (assignment_expression (field_expression IDENT . field_identifier) = IDENT) ;) (return_statement return IDENT ;) }))
(expression_statement "undefined1  [16]" (subscript_expression "undefined1  [16]" (identifier "undefined1") ([ "[") (number_literal "16") (] "]")) (; "")) (expression_statement "FUN_002fc440(long *param_1)" (call_expression "FUN_002fc440(long *param_1)" (identifier "FUN_002fc440") (argument_list "(long *param_1)" (( "(") (binary_expression "long *param_1" (identifier "long") (* "*") (identifier "param_1")) () ")"))) (; "")) (compound_statement "{\n  long *plVar1;\n  undefined8 uVar2;\n  ulong uVar3;\n  ulong uVar4;\n  undefined1 auVar5 [16];\n  char local_9;\n  \n  FUN_002faf20(&local_9,param_1,1);\n  if ((local_9 == '\0') ||\n     ((*(byte *)((long)param_1 + *(long *)(*param_1 + -0x18) + 0x20) & 5) != 0)) {\n    uVar3 = 0;\n    uVar4 = 0;\n    uVar2 = 0xffffffffffffffff;\n  }\n  else {\n    plVar1 = *(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xe8);\n                    \n    auVar5 = (**(code **)(*plVar1 + 0x20))(plVar1,0,1,8);\n    uVar2 = auVar5._0_8_;\n    uVar4 = auVar5._8_8_ & 0xffffffff;\n    uVar3 = auVar5._8_8_ >> 0x20;\n  }\n  auVar5._8_8_ = uVar4 | uVar3 << 0x20;\n  auVar5._0_8_ = uVar2;\n  return auVar5;\n}" ({ "{") (declaration "long *plVar1;" (sized_type_specifier "long" (long "long")) (pointer_declarator "*plVar1" (* "*") (identifier "plVar1")) (; ";")) (declaration "undefined8 uVar2;" (type_identifier "undefined8") (identifier "uVar2") (; ";")) (declaration "ulong uVar3;" (type_identifier "ulong") (identifier "uVar3") (; ";")) (declaration "ulong uVar4;" (type_identifier "ulong") (identifier "uVar4") (; ";")) (declaration "undefined1 auVar5 [16];" (type_identifier "undefined1") (array_declarator "auVar5 [16]" (identifier "auVar5") ([ "[") (number_literal "16") (] "]")) (; ";")) (declaration "char local_9;" (primitive_type "char") (identifier "local_9") (; ";")) (expression_statement "FUN_002faf20(&local_9,param_1,1);" (call_expression "FUN_002faf20(&local_9,param_1,1)" (identifier "FUN_002faf20") (argument_list "(&local_9,param_1,1)" (( "(") (pointer_expression "&local_9" (& "&") (identifier "local_9")) (, ",") (identifier "param_1") (, ",") (number_literal "1") () ")"))) (; ";")) (if_statement "if ((local_9 == '\0') ||\n     ((*(byte *)((long)param_1 + *(long *)(*param_1 + -0x18) + 0x20) & 5) != 0)) {\n    uVar3 = 0;\n    uVar4 = 0;\n    uVar2 = 0xffffffffffffffff;\n  }\n  else {\n    plVar1 = *(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xe8);\n                    \n    auVar5 = (**(code **)(*plVar1 + 0x20))(plVar1,0,1,8);\n    uVar2 = auVar5._0_8_;\n    uVar4 = auVar5._8_8_ & 0xffffffff;\n    uVar3 = auVar5._8_8_ >> 0x20;\n  }" (if "if") (parenthesized_expression "((local_9 == '\0') ||\n     ((*(byte *)((long)param_1 + *(long *)(*param_1 + -0x18) + 0x20) & 5) != 0))" (( "(") (binary_expression "(local_9 == '\0') ||\n     ((*(byte *)((long)param_1 + *(long *)(*param_1 + -0x18) + 0x20) & 5) != 0)" (parenthesized_expression "(local_9 == '\0')" (( "(") (binary_expression "local_9 == '\0'" (identifier "local_9") (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (|| "||") (parenthesized_expression "((*(byte *)((long)param_1 + *(long *)(*param_1 + -0x18) + 0x20) & 5) != 0)" (( "(") (binary_expression "(*(byte *)((long)param_1 + *(long *)(*param_1 + -0x18) + 0x20) & 5) != 0" (parenthesized_expression "(*(byte *)((long)param_1 + *(long *)(*param_1 + -0x18) + 0x20) & 5)" (( "(") (binary_expression "*(byte *)((long)param_1 + *(long *)(*param_1 + -0x18) + 0x20) & 5" (pointer_expression "*(byte *)((long)param_1 + *(long *)(*param_1 + -0x18) + 0x20)" (* "*") (cast_expression "(byte *)((long)param_1 + *(long *)(*param_1 + -0x18) + 0x20)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)param_1 + *(long *)(*param_1 + -0x18) + 0x20)" (( "(") (binary_expression "(long)param_1 + *(long *)(*param_1 + -0x18) + 0x20" (binary_expression "(long)param_1 + *(long *)(*param_1 + -0x18)" (cast_expression "(long)param_1" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_1")) (+ "+") (pointer_expression "*(long *)(*param_1 + -0x18)" (* "*") (cast_expression "(long *)(*param_1 + -0x18)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_1 + -0x18)" (( "(") (binary_expression "*param_1 + -0x18" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "-0x18")) () ")"))))) (+ "+") (number_literal "0x20")) () ")")))) (& "&") (number_literal "5")) () ")")) (!= "!=") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n    uVar3 = 0;\n    uVar4 = 0;\n    uVar2 = 0xffffffffffffffff;\n  }" ({ "{") (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" (identifier "uVar3") (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" (identifier "uVar4") (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar2 = 0xffffffffffffffff;" (assignment_expression "uVar2 = 0xffffffffffffffff" (identifier "uVar2") (= "=") (number_literal "0xffffffffffffffff")) (; ";")) (} "}")) (else_clause "else {\n    plVar1 = *(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xe8);\n                    \n    auVar5 = (**(code **)(*plVar1 + 0x20))(plVar1,0,1,8);\n    uVar2 = auVar5._0_8_;\n    uVar4 = auVar5._8_8_ & 0xffffffff;\n    uVar3 = auVar5._8_8_ >> 0x20;\n  }" (else "else") (compound_statement "{\n    plVar1 = *(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xe8);\n                    \n    auVar5 = (**(code **)(*plVar1 + 0x20))(plVar1,0,1,8);\n    uVar2 = auVar5._0_8_;\n    uVar4 = auVar5._8_8_ & 0xffffffff;\n    uVar3 = auVar5._8_8_ >> 0x20;\n  }" ({ "{") (expression_statement "plVar1 = *(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xe8);" (assignment_expression "plVar1 = *(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xe8)" (identifier "plVar1") (= "=") (pointer_expression "*(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xe8)" (* "*") (cast_expression "(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xe8)" (( "(") (type_descriptor "long **" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "((long)param_1 + *(long *)(*param_1 + -0x18) + 0xe8)" (( "(") (binary_expression "(long)param_1 + *(long *)(*param_1 + -0x18) + 0xe8" (binary_expression "(long)param_1 + *(long *)(*param_1 + -0x18)" (cast_expression "(long)param_1" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_1")) (+ "+") (pointer_expression "*(long *)(*param_1 + -0x18)" (* "*") (cast_expression "(long *)(*param_1 + -0x18)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_1 + -0x18)" (( "(") (binary_expression "*param_1 + -0x18" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "-0x18")) () ")"))))) (+ "+") (number_literal "0xe8")) () ")"))))) (; ";")) (expression_statement "auVar5 = (**(code **)(*plVar1 + 0x20))(plVar1,0,1,8);" (assignment_expression "auVar5 = (**(code **)(*plVar1 + 0x20))(plVar1,0,1,8)" (identifier "auVar5") (= "=") (call_expression "(**(code **)(*plVar1 + 0x20))(plVar1,0,1,8)" (parenthesized_expression "(**(code **)(*plVar1 + 0x20))" (( "(") (pointer_expression "**(code **)(*plVar1 + 0x20)" (* "*") (pointer_expression "*(code **)(*plVar1 + 0x20)" (* "*") (cast_expression "(code **)(*plVar1 + 0x20)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*plVar1 + 0x20)" (( "(") (binary_expression "*plVar1 + 0x20" (pointer_expression "*plVar1" (* "*") (identifier "plVar1")) (+ "+") (number_literal "0x20")) () ")"))))) () ")")) (argument_list "(plVar1,0,1,8)" (( "(") (identifier "plVar1") (, ",") (number_literal "0") (, ",") (number_literal "1") (, ",") (number_literal "8") () ")")))) (; ";")) (expression_statement "uVar2 = auVar5._0_8_;" (assignment_expression "uVar2 = auVar5._0_8_" (identifier "uVar2") (= "=") (field_expression "auVar5._0_8_" (identifier "auVar5") (. ".") (field_identifier "_0_8_"))) (; ";")) (expression_statement "uVar4 = auVar5._8_8_ & 0xffffffff;" (assignment_expression "uVar4 = auVar5._8_8_ & 0xffffffff" (identifier "uVar4") (= "=") (binary_expression "auVar5._8_8_ & 0xffffffff" (field_expression "auVar5._8_8_" (identifier "auVar5") (. ".") (field_identifier "_8_8_")) (& "&") (number_literal "0xffffffff"))) (; ";")) (expression_statement "uVar3 = auVar5._8_8_ >> 0x20;" (assignment_expression "uVar3 = auVar5._8_8_ >> 0x20" (identifier "uVar3") (= "=") (binary_expression "auVar5._8_8_ >> 0x20" (field_expression "auVar5._8_8_" (identifier "auVar5") (. ".") (field_identifier "_8_8_")) (>> ">>") (number_literal "0x20"))) (; ";")) (} "}")))) (expression_statement "auVar5._8_8_ = uVar4 | uVar3 << 0x20;" (assignment_expression "auVar5._8_8_ = uVar4 | uVar3 << 0x20" (field_expression "auVar5._8_8_" (identifier "auVar5") (. ".") (field_identifier "_8_8_")) (= "=") (binary_expression "uVar4 | uVar3 << 0x20" (identifier "uVar4") (| "|") (binary_expression "uVar3 << 0x20" (identifier "uVar3") (<< "<<") (number_literal "0x20")))) (; ";")) (expression_statement "auVar5._0_8_ = uVar2;" (assignment_expression "auVar5._0_8_ = uVar2" (field_expression "auVar5._0_8_" (identifier "auVar5") (. ".") (field_identifier "_0_8_")) (= "=") (identifier "uVar2")) (; ";")) (return_statement "return auVar5;" (return "return") (identifier "auVar5") (; ";")) (} "}"))

/* std::istream::tellg() */

type_3  [16] __thiscall std::istream::tellg(istream *var_2)

{
  type_1 uVar1;
  type_2 var_4;
  type_2 var_3;
  type_3 auVar4 [16];
  type_4 var_1;
  
  sentry::type_4(&var_1,var_2,true);
  if ((var_1 == (type_4)0x0) || (((type_5)var_2[*(long *)(*(long *)var_2 + -0x18) + 0x20] & 5) != 0))
  {
    var_4 = 0;
    var_3 = 0;
    uVar1 = 0xffffffffffffffff;
  }
  else {
                    /* try { // try from 002fc487 to 002fc489 has its CatchHandler @ 002fc4b5 */
    auVar4 = (**(type_6 **)(**(long **)(var_2 + *(long *)(*(long *)var_2 + -0x18) + 0xe8) + 0x20))
                       (*(long **)(var_2 + *(long *)(*(long *)var_2 + -0x18) + 0xe8),0,1,8);
    uVar1 = auVar4._0_8_;
    var_3 = auVar4._8_8_ & 0xffffffff;
    var_4 = auVar4._8_8_ >> 0x20;
  }
  auVar4._8_8_ = var_3 | var_4 << 0x20;
  auVar4._0_8_ = uVar1;
  return auVar4;
}


(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: (sized_type_specifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier)) (identifier) (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (escape_sequence)))) right: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (cast_expression type: (type_descriptor type: (sized_type_specifier)) value: (identifier)) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal)))))) right: (number_literal))))) right: (number_literal))) right: (number_literal))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (binary_expression left: (cast_expression type: (type_descriptor type: (sized_type_specifier)) value: (identifier)) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal)))))) right: (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 (identifier) (number_literal) (number_literal) (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (field_expression argument: (identifier) field: (field_identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (field_expression argument: (identifier) field: (field_identifier)) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (field_expression argument: (identifier) field: (field_identifier)) right: (number_literal))))))) (expression_statement (assignment_expression left: (field_expression argument: (identifier) field: (field_identifier)) right: (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (field_expression argument: (identifier) field: (field_identifier)) right: (identifier))) (return_statement (identifier))))

undefined1  [16] MASKED(long *param_1)

{
  long *plVar1;
  undefined8 uVar2;
  ulong uVar3;
  ulong uVar4;
  undefined1 auVar5 [16];
  char local_9;
  
  FUN_002faf20(&local_9,param_1,1);
  if ((local_9 == '\0') ||
     ((*(byte *)((long)param_1 + *(long *)(*param_1 + -0x18) + 0x20) & 5) != 0)) {
    uVar3 = 0;
    uVar4 = 0;
    uVar2 = 0xffffffffffffffff;
  }
  else {
    plVar1 = *(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xe8);
                    /* try { // try from 002fc487 to 002fc489 has its CatchHandler @ 002fc4b5 */
    auVar5 = (**(code **)(*plVar1 + 0x20))(plVar1,0,1,8);
    uVar2 = auVar5._0_8_;
    uVar4 = auVar5._8_8_ & 0xffffffff;
    uVar3 = auVar5._8_8_ >> 0x20;
  }
  auVar5._8_8_ = uVar4 | uVar3 << 0x20;
  auVar5._0_8_ = uVar2;
  return auVar5;
}

