
/* std::wostream::seekp(std::fpos<__mbstate_t>) */

long * std::wostream::seekp(long *param_1)

{
  long lVar1;
  wios *this;
  
  if ((*(byte *)((long)param_1 + *(long *)(*param_1 + -0x18) + 0x20) & 5) == 0) {
                    /* try { // try from 002e7ad3 to 002e7ad5 has its CatchHandler @ 002e7b02 */
    lVar1 = (**(code **)(**(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xe8) + 0x28))();
    if (lVar1 == -1) {
      this = (wios *)(*(long *)(*param_1 + -0x18) + (long)param_1);
      wios::clear(this,*(_Ios_Iostate *)(this + 0x20) | _S_failbit);
      return param_1;
    }
  }
  return param_1;
}



long * FUN_002e7ab0(long *param_1)

{
  long lVar1;
  
  if ((*(byte *)((long)param_1 + *(long *)(*param_1 + -0x18) + 0x20) & 5) == 0) {
                    /* try { // try from 002e7ad3 to 002e7ad5 has its CatchHandler @ 002e7b02 */
    lVar1 = (**(code **)(**(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xe8) + 0x28))();
    if (lVar1 == -1) {
      lVar1 = *(long *)(*param_1 + -0x18) + (long)param_1;
      FUN_00301270(lVar1,*(uint *)(lVar1 + 0x20) | 4);
      return param_1;
    }
  }
  return param_1;
}


PUSH RBX
MOV RAX,qword ptr [RDI]
MOV RBX,RDI
MOV RCX,qword ptr [RAX + -0x18]
ADD RCX,RDI
TEST byte ptr [RCX + 0x20],0x5
JNZ 0x002e7adc
MOV RDI,qword ptr [RCX + 0xe8]
MOV ECX,0x10
MOV RAX,qword ptr [RDI]
CALL qword ptr [RAX + 0x28]
CMP RAX,-0x1
JZ 0x002e7ae8
MOV RAX,RBX
POP RBX
RET
MOV RAX,qword ptr [RBX]
MOV RDI,qword ptr [RAX + -0x18]
ADD RDI,RBX
MOV ESI,dword ptr [RDI + 0x20]
OR ESI,0x4
CALL 0x00301270
MOV RAX,RBX
POP RBX
RET
(translation_unit "long * FUN_002e7ab0(long *param_1)\n\n{\n  long lVar1;\n  \n  if ((*(byte *)((long)param_1 + *(long *)(*param_1 + -0x18) + 0x20) & 5) == 0) {\n                    /* try { // try from 002e7ad3 to 002e7ad5 has its CatchHandler @ 002e7b02 */\n    lVar1 = (**(code **)(**(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xe8) + 0x28))();\n    if (lVar1 == -1) {\n      lVar1 = *(long *)(*param_1 + -0x18) + (long)param_1;\n      FUN_00301270(lVar1,*(uint *)(lVar1 + 0x20) | 4);\n      return param_1;\n    }\n  }\n  return param_1;\n}\n\n" (function_definition "long * FUN_002e7ab0(long *param_1)\n\n{\n  long lVar1;\n  \n  if ((*(byte *)((long)param_1 + *(long *)(*param_1 + -0x18) + 0x20) & 5) == 0) {\n                    /* try { // try from 002e7ad3 to 002e7ad5 has its CatchHandler @ 002e7b02 */\n    lVar1 = (**(code **)(**(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xe8) + 0x28))();\n    if (lVar1 == -1) {\n      lVar1 = *(long *)(*param_1 + -0x18) + (long)param_1;\n      FUN_00301270(lVar1,*(uint *)(lVar1 + 0x20) | 4);\n      return param_1;\n    }\n  }\n  return param_1;\n}" (sized_type_specifier "long" long) (pointer_declarator "* FUN_002e7ab0(long *param_1)" * (function_declarator "FUN_002e7ab0(long *param_1)" identifier (parameter_list "(long *param_1)" ( (parameter_declaration "long *param_1" (sized_type_specifier "long" long) (pointer_declarator "*param_1" * identifier)) )))) (compound_statement "{\n  long lVar1;\n  \n  if ((*(byte *)((long)param_1 + *(long *)(*param_1 + -0x18) + 0x20) & 5) == 0) {\n                    /* try { // try from 002e7ad3 to 002e7ad5 has its CatchHandler @ 002e7b02 */\n    lVar1 = (**(code **)(**(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xe8) + 0x28))();\n    if (lVar1 == -1) {\n      lVar1 = *(long *)(*param_1 + -0x18) + (long)param_1;\n      FUN_00301270(lVar1,*(uint *)(lVar1 + 0x20) | 4);\n      return param_1;\n    }\n  }\n  return param_1;\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (if_statement "if ((*(byte *)((long)param_1 + *(long *)(*param_1 + -0x18) + 0x20) & 5) == 0) {\n                    /* try { // try from 002e7ad3 to 002e7ad5 has its CatchHandler @ 002e7b02 */\n    lVar1 = (**(code **)(**(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xe8) + 0x28))();\n    if (lVar1 == -1) {\n      lVar1 = *(long *)(*param_1 + -0x18) + (long)param_1;\n      FUN_00301270(lVar1,*(uint *)(lVar1 + 0x20) | 4);\n      return param_1;\n    }\n  }" if (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                    /* try { // try from 002e7ad3 to 002e7ad5 has its CatchHandler @ 002e7b02 */\n    lVar1 = (**(code **)(**(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xe8) + 0x28))();\n    if (lVar1 == -1) {\n      lVar1 = *(long *)(*param_1 + -0x18) + (long)param_1;\n      FUN_00301270(lVar1,*(uint *)(lVar1 + 0x20) | 4);\n      return param_1;\n    }\n  }" { comment (expression_statement "lVar1 = (**(code **)(**(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xe8) + 0x28))();" (assignment_expression "lVar1 = (**(code **)(**(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xe8) + 0x28))()" identifier = (call_expression "(**(code **)(**(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xe8) + 0x28))()" (parenthesized_expression "(**(code **)(**(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xe8) + 0x28))" ( (pointer_expression "**(code **)(**(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xe8) + 0x28)" * (pointer_expression "*(code **)(**(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xe8) + 0x28)" * (cast_expression "(code **)(**(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xe8) + 0x28)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(**(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xe8) + 0x28)" ( (binary_expression "**(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xe8) + 0x28" (pointer_expression "**(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xe8)" * (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) ))))) + number_literal) ))))) )) (argument_list "()" ( )))) ;) (if_statement "if (lVar1 == -1) {\n      lVar1 = *(long *)(*param_1 + -0x18) + (long)param_1;\n      FUN_00301270(lVar1,*(uint *)(lVar1 + 0x20) | 4);\n      return param_1;\n    }" if (parenthesized_expression "(lVar1 == -1)" ( (binary_expression "lVar1 == -1" identifier == number_literal) )) (compound_statement "{\n      lVar1 = *(long *)(*param_1 + -0x18) + (long)param_1;\n      FUN_00301270(lVar1,*(uint *)(lVar1 + 0x20) | 4);\n      return param_1;\n    }" { (expression_statement "lVar1 = *(long *)(*param_1 + -0x18) + (long)param_1;" (assignment_expression "lVar1 = *(long *)(*param_1 + -0x18) + (long)param_1" identifier = (binary_expression "*(long *)(*param_1 + -0x18) + (long)param_1" (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) )))) + (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier))) ;) (expression_statement "FUN_00301270(lVar1,*(uint *)(lVar1 + 0x20) | 4);" (call_expression "FUN_00301270(lVar1,*(uint *)(lVar1 + 0x20) | 4)" identifier (argument_list "(lVar1,*(uint *)(lVar1 + 0x20) | 4)" ( identifier , (binary_expression "*(uint *)(lVar1 + 0x20) | 4" (pointer_expression "*(uint *)(lVar1 + 0x20)" * (cast_expression "(uint *)(lVar1 + 0x20)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x20)" ( (binary_expression "lVar1 + 0x20" identifier + number_literal) )))) | number_literal) ))) ;) (return_statement "return param_1;" return identifier ;) })) })) (return_statement "return param_1;" return identifier ;) })))
(translation_unit "/* std::wostream::seekp(std::fpos<__mbstate_t>) */\n\nlong * std::wostream::seekp(long *param_1)\n\n{\n  long lVar1;\n  wios *this;\n  \n  if ((*(byte *)((long)param_1 + *(long *)(*param_1 + -0x18) + 0x20) & 5) == 0) {\n                    /* try { // try from 002e7ad3 to 002e7ad5 has its CatchHandler @ 002e7b02 */\n    lVar1 = (**(code **)(**(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xe8) + 0x28))();\n    if (lVar1 == -1) {\n      this = (wios *)(*(long *)(*param_1 + -0x18) + (long)param_1);\n      wios::clear(this,*(_Ios_Iostate *)(this + 0x20) | _S_failbit);\n      return param_1;\n    }\n  }\n  return param_1;\n}\n\n" comment (function_definition "long * std::wostream::seekp(long *param_1)\n\n{\n  long lVar1;\n  wios *this;\n  \n  if ((*(byte *)((long)param_1 + *(long *)(*param_1 + -0x18) + 0x20) & 5) == 0) {\n                    /* try { // try from 002e7ad3 to 002e7ad5 has its CatchHandler @ 002e7b02 */\n    lVar1 = (**(code **)(**(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xe8) + 0x28))();\n    if (lVar1 == -1) {\n      this = (wios *)(*(long *)(*param_1 + -0x18) + (long)param_1);\n      wios::clear(this,*(_Ios_Iostate *)(this + 0x20) | _S_failbit);\n      return param_1;\n    }\n  }\n  return param_1;\n}" (sized_type_specifier "long" long) (pointer_declarator "* std::wostream::seekp(long *param_1)" * (ERROR "std::wostream::" identifier : : identifier : :) (function_declarator "seekp(long *param_1)" identifier (parameter_list "(long *param_1)" ( (parameter_declaration "long *param_1" (sized_type_specifier "long" long) (pointer_declarator "*param_1" * identifier)) )))) (compound_statement "{\n  long lVar1;\n  wios *this;\n  \n  if ((*(byte *)((long)param_1 + *(long *)(*param_1 + -0x18) + 0x20) & 5) == 0) {\n                    /* try { // try from 002e7ad3 to 002e7ad5 has its CatchHandler @ 002e7b02 */\n    lVar1 = (**(code **)(**(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xe8) + 0x28))();\n    if (lVar1 == -1) {\n      this = (wios *)(*(long *)(*param_1 + -0x18) + (long)param_1);\n      wios::clear(this,*(_Ios_Iostate *)(this + 0x20) | _S_failbit);\n      return param_1;\n    }\n  }\n  return param_1;\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (declaration "wios *this;" type_identifier (pointer_declarator "*this" * identifier) ;) (if_statement "if ((*(byte *)((long)param_1 + *(long *)(*param_1 + -0x18) + 0x20) & 5) == 0) {\n                    /* try { // try from 002e7ad3 to 002e7ad5 has its CatchHandler @ 002e7b02 */\n    lVar1 = (**(code **)(**(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xe8) + 0x28))();\n    if (lVar1 == -1) {\n      this = (wios *)(*(long *)(*param_1 + -0x18) + (long)param_1);\n      wios::clear(this,*(_Ios_Iostate *)(this + 0x20) | _S_failbit);\n      return param_1;\n    }\n  }" if (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                    /* try { // try from 002e7ad3 to 002e7ad5 has its CatchHandler @ 002e7b02 */\n    lVar1 = (**(code **)(**(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xe8) + 0x28))();\n    if (lVar1 == -1) {\n      this = (wios *)(*(long *)(*param_1 + -0x18) + (long)param_1);\n      wios::clear(this,*(_Ios_Iostate *)(this + 0x20) | _S_failbit);\n      return param_1;\n    }\n  }" { comment (expression_statement "lVar1 = (**(code **)(**(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xe8) + 0x28))();" (assignment_expression "lVar1 = (**(code **)(**(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xe8) + 0x28))()" identifier = (call_expression "(**(code **)(**(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xe8) + 0x28))()" (parenthesized_expression "(**(code **)(**(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xe8) + 0x28))" ( (pointer_expression "**(code **)(**(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xe8) + 0x28)" * (pointer_expression "*(code **)(**(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xe8) + 0x28)" * (cast_expression "(code **)(**(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xe8) + 0x28)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(**(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xe8) + 0x28)" ( (binary_expression "**(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xe8) + 0x28" (pointer_expression "**(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xe8)" * (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) ))))) + number_literal) ))))) )) (argument_list "()" ( )))) ;) (if_statement "if (lVar1 == -1) {\n      this = (wios *)(*(long *)(*param_1 + -0x18) + (long)param_1);\n      wios::clear(this,*(_Ios_Iostate *)(this + 0x20) | _S_failbit);\n      return param_1;\n    }" if (parenthesized_expression "(lVar1 == -1)" ( (binary_expression "lVar1 == -1" identifier == number_literal) )) (compound_statement "{\n      this = (wios *)(*(long *)(*param_1 + -0x18) + (long)param_1);\n      wios::clear(this,*(_Ios_Iostate *)(this + 0x20) | _S_failbit);\n      return param_1;\n    }" { (expression_statement "this = (wios *)(*(long *)(*param_1 + -0x18) + (long)param_1);" (assignment_expression "this = (wios *)(*(long *)(*param_1 + -0x18) + (long)param_1)" identifier = (cast_expression "(wios *)(*(long *)(*param_1 + -0x18) + (long)param_1)" ( (type_descriptor "wios *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(*param_1 + -0x18) + (long)param_1)" ( (binary_expression "*(long *)(*param_1 + -0x18) + (long)param_1" (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) )))) + (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) )))) ;) (labeled_statement "wios::clear(this,*(_Ios_Iostate *)(this + 0x20) | _S_failbit);" statement_identifier : (ERROR ":" :) (expression_statement "clear(this,*(_Ios_Iostate *)(this + 0x20) | _S_failbit);" (call_expression "clear(this,*(_Ios_Iostate *)(this + 0x20) | _S_failbit)" identifier (argument_list "(this,*(_Ios_Iostate *)(this + 0x20) | _S_failbit)" ( identifier , (binary_expression "*(_Ios_Iostate *)(this + 0x20) | _S_failbit" (pointer_expression "*(_Ios_Iostate *)(this + 0x20)" * (cast_expression "(_Ios_Iostate *)(this + 0x20)" ( (type_descriptor "_Ios_Iostate *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x20)" ( (binary_expression "this + 0x20" identifier + number_literal) )))) | identifier) ))) ;)) (return_statement "return param_1;" return identifier ;) })) })) (return_statement "return param_1;" return identifier ;) })))
(translation_unit "long * FUN_002e7ab0(long *param_1)\n\n{\n  long lVar1;\n  \n  if ((*(byte *)((long)param_1 + *(long *)(*param_1 + -0x18) + 0x20) & 5) == 0) {\n                    \n    lVar1 = (**(code **)(**(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xe8) + 0x28))();\n    if (lVar1 == -1) {\n      lVar1 = *(long *)(*param_1 + -0x18) + (long)param_1;\n      FUN_00301270(lVar1,*(uint *)(lVar1 + 0x20) | 4);\n      return param_1;\n    }\n  }\n  return param_1;\n}\n\n" (function_definition "long * FUN_002e7ab0(long *param_1)\n\n{\n  long lVar1;\n  \n  if ((*(byte *)((long)param_1 + *(long *)(*param_1 + -0x18) + 0x20) & 5) == 0) {\n                    \n    lVar1 = (**(code **)(**(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xe8) + 0x28))();\n    if (lVar1 == -1) {\n      lVar1 = *(long *)(*param_1 + -0x18) + (long)param_1;\n      FUN_00301270(lVar1,*(uint *)(lVar1 + 0x20) | 4);\n      return param_1;\n    }\n  }\n  return param_1;\n}" (sized_type_specifier "long" long) (pointer_declarator "* FUN_002e7ab0(long *param_1)" * (function_declarator "FUN_002e7ab0(long *param_1)" identifier (parameter_list "(long *param_1)" ( (parameter_declaration "long *param_1" (sized_type_specifier "long" long) (pointer_declarator "*param_1" * identifier)) )))) (compound_statement "{\n  long lVar1;\n  \n  if ((*(byte *)((long)param_1 + *(long *)(*param_1 + -0x18) + 0x20) & 5) == 0) {\n                    \n    lVar1 = (**(code **)(**(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xe8) + 0x28))();\n    if (lVar1 == -1) {\n      lVar1 = *(long *)(*param_1 + -0x18) + (long)param_1;\n      FUN_00301270(lVar1,*(uint *)(lVar1 + 0x20) | 4);\n      return param_1;\n    }\n  }\n  return param_1;\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (if_statement "if ((*(byte *)((long)param_1 + *(long *)(*param_1 + -0x18) + 0x20) & 5) == 0) {\n                    \n    lVar1 = (**(code **)(**(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xe8) + 0x28))();\n    if (lVar1 == -1) {\n      lVar1 = *(long *)(*param_1 + -0x18) + (long)param_1;\n      FUN_00301270(lVar1,*(uint *)(lVar1 + 0x20) | 4);\n      return param_1;\n    }\n  }" if (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                    \n    lVar1 = (**(code **)(**(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xe8) + 0x28))();\n    if (lVar1 == -1) {\n      lVar1 = *(long *)(*param_1 + -0x18) + (long)param_1;\n      FUN_00301270(lVar1,*(uint *)(lVar1 + 0x20) | 4);\n      return param_1;\n    }\n  }" { (expression_statement "lVar1 = (**(code **)(**(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xe8) + 0x28))();" (assignment_expression "lVar1 = (**(code **)(**(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xe8) + 0x28))()" identifier = (call_expression "(**(code **)(**(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xe8) + 0x28))()" (parenthesized_expression "(**(code **)(**(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xe8) + 0x28))" ( (pointer_expression "**(code **)(**(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xe8) + 0x28)" * (pointer_expression "*(code **)(**(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xe8) + 0x28)" * (cast_expression "(code **)(**(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xe8) + 0x28)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(**(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xe8) + 0x28)" ( (binary_expression "**(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xe8) + 0x28" (pointer_expression "**(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xe8)" * (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) ))))) + number_literal) ))))) )) (argument_list "()" ( )))) ;) (if_statement "if (lVar1 == -1) {\n      lVar1 = *(long *)(*param_1 + -0x18) + (long)param_1;\n      FUN_00301270(lVar1,*(uint *)(lVar1 + 0x20) | 4);\n      return param_1;\n    }" if (parenthesized_expression "(lVar1 == -1)" ( (binary_expression "lVar1 == -1" identifier == number_literal) )) (compound_statement "{\n      lVar1 = *(long *)(*param_1 + -0x18) + (long)param_1;\n      FUN_00301270(lVar1,*(uint *)(lVar1 + 0x20) | 4);\n      return param_1;\n    }" { (expression_statement "lVar1 = *(long *)(*param_1 + -0x18) + (long)param_1;" (assignment_expression "lVar1 = *(long *)(*param_1 + -0x18) + (long)param_1" identifier = (binary_expression "*(long *)(*param_1 + -0x18) + (long)param_1" (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) )))) + (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier))) ;) (expression_statement "FUN_00301270(lVar1,*(uint *)(lVar1 + 0x20) | 4);" (call_expression "FUN_00301270(lVar1,*(uint *)(lVar1 + 0x20) | 4)" identifier (argument_list "(lVar1,*(uint *)(lVar1 + 0x20) | 4)" ( identifier , (binary_expression "*(uint *)(lVar1 + 0x20) | 4" (pointer_expression "*(uint *)(lVar1 + 0x20)" * (cast_expression "(uint *)(lVar1 + 0x20)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x20)" ( (binary_expression "lVar1 + 0x20" identifier + number_literal) )))) | number_literal) ))) ;) (return_statement "return param_1;" return identifier ;) })) })) (return_statement "return param_1;" return identifier ;) })))
(translation_unit (function_definition (sized_type_specifier long) (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) (pointer_declarator * IDENT)) )))) (compound_statement { (declaration (sized_type_specifier long) IDENT ;) (if_statement if (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 = (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 * (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) ))))) + LIT) ))))) )) (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) + (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) | LIT) ))) ;) (return_statement return IDENT ;) })) })) (return_statement return IDENT ;) })))
(function_definition "long * FUN_002e7ab0(long *param_1)\n\n{\n  long lVar1;\n  \n  if ((*(byte *)((long)param_1 + *(long *)(*param_1 + -0x18) + 0x20) & 5) == 0) {\n                    \n    lVar1 = (**(code **)(**(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xe8) + 0x28))();\n    if (lVar1 == -1) {\n      lVar1 = *(long *)(*param_1 + -0x18) + (long)param_1;\n      FUN_00301270(lVar1,*(uint *)(lVar1 + 0x20) | 4);\n      return param_1;\n    }\n  }\n  return param_1;\n}" (sized_type_specifier "long" (long "long")) (pointer_declarator "* FUN_002e7ab0(long *param_1)" (* "*") (function_declarator "FUN_002e7ab0(long *param_1)" (identifier "FUN_002e7ab0") (parameter_list "(long *param_1)" (( "(") (parameter_declaration "long *param_1" (sized_type_specifier "long" (long "long")) (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")")))) (compound_statement "{\n  long lVar1;\n  \n  if ((*(byte *)((long)param_1 + *(long *)(*param_1 + -0x18) + 0x20) & 5) == 0) {\n                    \n    lVar1 = (**(code **)(**(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xe8) + 0x28))();\n    if (lVar1 == -1) {\n      lVar1 = *(long *)(*param_1 + -0x18) + (long)param_1;\n      FUN_00301270(lVar1,*(uint *)(lVar1 + 0x20) | 4);\n      return param_1;\n    }\n  }\n  return param_1;\n}" ({ "{") (declaration "long lVar1;" (sized_type_specifier "long" (long "long")) (identifier "lVar1") (; ";")) (if_statement "if ((*(byte *)((long)param_1 + *(long *)(*param_1 + -0x18) + 0x20) & 5) == 0) {\n                    \n    lVar1 = (**(code **)(**(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xe8) + 0x28))();\n    if (lVar1 == -1) {\n      lVar1 = *(long *)(*param_1 + -0x18) + (long)param_1;\n      FUN_00301270(lVar1,*(uint *)(lVar1 + 0x20) | 4);\n      return param_1;\n    }\n  }" (if "if") (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                    \n    lVar1 = (**(code **)(**(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xe8) + 0x28))();\n    if (lVar1 == -1) {\n      lVar1 = *(long *)(*param_1 + -0x18) + (long)param_1;\n      FUN_00301270(lVar1,*(uint *)(lVar1 + 0x20) | 4);\n      return param_1;\n    }\n  }" ({ "{") (expression_statement "lVar1 = (**(code **)(**(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xe8) + 0x28))();" (assignment_expression "lVar1 = (**(code **)(**(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xe8) + 0x28))()" (identifier "lVar1") (= "=") (call_expression "(**(code **)(**(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xe8) + 0x28))()" (parenthesized_expression "(**(code **)(**(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xe8) + 0x28))" (( "(") (pointer_expression "**(code **)(**(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xe8) + 0x28)" (* "*") (pointer_expression "*(code **)(**(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xe8) + 0x28)" (* "*") (cast_expression "(code **)(**(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xe8) + 0x28)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(**(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xe8) + 0x28)" (( "(") (binary_expression "**(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xe8) + 0x28" (pointer_expression "**(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xe8)" (* "*") (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")) () ")"))))) (+ "+") (number_literal "0x28")) () ")"))))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (lVar1 == -1) {\n      lVar1 = *(long *)(*param_1 + -0x18) + (long)param_1;\n      FUN_00301270(lVar1,*(uint *)(lVar1 + 0x20) | 4);\n      return param_1;\n    }" (if "if") (parenthesized_expression "(lVar1 == -1)" (( "(") (binary_expression "lVar1 == -1" (identifier "lVar1") (== "==") (number_literal "-1")) () ")")) (compound_statement "{\n      lVar1 = *(long *)(*param_1 + -0x18) + (long)param_1;\n      FUN_00301270(lVar1,*(uint *)(lVar1 + 0x20) | 4);\n      return param_1;\n    }" ({ "{") (expression_statement "lVar1 = *(long *)(*param_1 + -0x18) + (long)param_1;" (assignment_expression "lVar1 = *(long *)(*param_1 + -0x18) + (long)param_1" (identifier "lVar1") (= "=") (binary_expression "*(long *)(*param_1 + -0x18) + (long)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")) () ")")))) (+ "+") (cast_expression "(long)param_1" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_1")))) (; ";")) (expression_statement "FUN_00301270(lVar1,*(uint *)(lVar1 + 0x20) | 4);" (call_expression "FUN_00301270(lVar1,*(uint *)(lVar1 + 0x20) | 4)" (identifier "FUN_00301270") (argument_list "(lVar1,*(uint *)(lVar1 + 0x20) | 4)" (( "(") (identifier "lVar1") (, ",") (binary_expression "*(uint *)(lVar1 + 0x20) | 4" (pointer_expression "*(uint *)(lVar1 + 0x20)" (* "*") (cast_expression "(uint *)(lVar1 + 0x20)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar1 + 0x20)" (( "(") (binary_expression "lVar1 + 0x20" (identifier "lVar1") (+ "+") (number_literal "0x20")) () ")")))) (| "|") (number_literal "4")) () ")"))) (; ";")) (return_statement "return param_1;" (return "return") (identifier "param_1") (; ";")) (} "}"))) (} "}"))) (return_statement "return param_1;" (return "return") (identifier "param_1") (; ";")) (} "}")))

/* std::wostream::seekp(std::fpos<__mbstate_t>) */

long * std::wostream::function_1(long *param_1)

{
  long var_1;
  type_1 *var_3;
  
  if ((*(type_2 *)((long)param_1 + *(long *)(*param_1 + -0x18) + 0x20) & 5) == 0) {
                    /* try { // try from 002e7ad3 to 002e7ad5 has its CatchHandler @ 002e7b02 */
    var_1 = (**(type_3 **)(**(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xe8) + 0x28))();
    if (var_1 == -1) {
      var_3 = (type_1 *)(*(long *)(*param_1 + -0x18) + (long)param_1);
      wios::var_2(var_3,*(type_4 *)(var_3 + 0x20) | var_4);
      return param_1;
    }
  }
  return param_1;
}


(translation_unit (function_definition type: (sized_type_specifier) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (sized_type_specifier) declarator: (pointer_declarator declarator: (identifier)))))) body: (compound_statement (declaration type: (sized_type_specifier) declarator: (identifier)) (if_statement condition: (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: (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: (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)))))) right: (number_literal))))))) arguments: (argument_list)))) (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: (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: (cast_expression type: (type_descriptor type: (sized_type_specifier)) value: (identifier))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))))) (return_statement (identifier)))))) (return_statement (identifier)))))

long * MASKED(long *param_1)

{
  long lVar1;
  
  if ((*(byte *)((long)param_1 + *(long *)(*param_1 + -0x18) + 0x20) & 5) == 0) {
                    /* try { // try from 002e7ad3 to 002e7ad5 has its CatchHandler @ 002e7b02 */
    lVar1 = (**(code **)(**(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xe8) + 0x28))();
    if (lVar1 == -1) {
      lVar1 = *(long *)(*param_1 + -0x18) + (long)param_1;
      FUN_00301270(lVar1,*(uint *)(lVar1 + 0x20) | 4);
      return param_1;
    }
  }
  return param_1;
}

