
/* std::wostream::TEMPNAMEPLACEHOLDERVALUE(long) */

wostream * __thiscall std::wostream::operator<<(wostream *this,long param_1)

{
  long *plVar1;
  long *plVar2;
  long lVar3;
  undefined4 uVar4;
  char extraout_DL;
  wostream *pwVar5;
  sentry asStack_38 [16];
  
  sentry::sentry(asStack_38,this);
  if (asStack_38[0] != (sentry)0x0) {
    pwVar5 = this + *(long *)(*(long *)this + -0x18);
    plVar1 = *(long **)(pwVar5 + 0xf8);
    if (plVar1 == (long *)0x0) {
                    /* WARNING: Subroutine does not return */
      __throw_bad_cast();
    }
    if (pwVar5[0xe4] == (wostream)0x0) {
      plVar2 = *(long **)(pwVar5 + 0xf0);
      if (plVar2 == (long *)0x0) {
                    /* WARNING: Subroutine does not return */
        __throw_bad_cast();
      }
      uVar4 = (**(code **)(*plVar2 + 0x50))(plVar2,0x20);
      *(undefined4 *)(pwVar5 + 0xe0) = uVar4;
      lVar3 = *(long *)this;
      pwVar5[0xe4] = (wostream)0x1;
      pwVar5 = this + *(long *)(lVar3 + -0x18);
    }
    else {
      uVar4 = *(undefined4 *)(pwVar5 + 0xe0);
    }
    (**(code **)(*plVar1 + 0x18))
              (plVar1,*(long *)(pwVar5 + 0xe8),*(long *)(pwVar5 + 0xe8) == 0,pwVar5,uVar4,param_1);
    if (extraout_DL != '\0') {
      wios::clear((wios *)(this + *(long *)(*(long *)this + -0x18)),
                  *(_Ios_Iostate *)((wios *)(this + *(long *)(*(long *)this + -0x18)) + 0x20) |
                  _S_badbit);
    }
  }
  sentry::~sentry(asStack_38);
  return this;
}



long * thunk_FUN_002e8bf0(long *param_1,undefined8 param_2)

{
  long *plVar1;
  long *plVar2;
  long lVar3;
  undefined4 uVar4;
  char extraout_DL;
  long lVar5;
  char acStack_38 [16];
  
  FUN_002e8070(acStack_38,param_1);
  if (acStack_38[0] != '\0') {
    lVar5 = *(long *)(*param_1 + -0x18) + (long)param_1;
    plVar1 = *(long **)(lVar5 + 0xf8);
    if (plVar1 == (long *)0x0) {
                    /* WARNING: Subroutine does not return */
      FUN_00319460();
    }
    if (*(char *)(lVar5 + 0xe4) == '\0') {
      plVar2 = *(long **)(lVar5 + 0xf0);
      if (plVar2 == (long *)0x0) {
                    /* WARNING: Subroutine does not return */
        FUN_00319460();
      }
      uVar4 = (**(code **)(*plVar2 + 0x50))(plVar2,0x20);
      *(undefined4 *)(lVar5 + 0xe0) = uVar4;
      lVar3 = *param_1;
      *(undefined1 *)(lVar5 + 0xe4) = 1;
      lVar5 = *(long *)(lVar3 + -0x18) + (long)param_1;
    }
    else {
      uVar4 = *(undefined4 *)(lVar5 + 0xe0);
    }
    (**(code **)(*plVar1 + 0x18))
              (plVar1,*(long *)(lVar5 + 0xe8),*(long *)(lVar5 + 0xe8) == 0,lVar5,uVar4,param_2);
    if (extraout_DL != '\0') {
      lVar5 = *(long *)(*param_1 + -0x18) + (long)param_1;
      FUN_00301270(lVar5,*(uint *)(lVar5 + 0x20) | 1);
    }
  }
  FUN_002e80e0(acStack_38);
  return param_1;
}


JMP 0x002e8bf0
(translation_unit "long * thunk_FUN_002e8bf0(long *param_1,undefined8 param_2)\n\n{\n  long *plVar1;\n  long *plVar2;\n  long lVar3;\n  undefined4 uVar4;\n  char extraout_DL;\n  long lVar5;\n  char acStack_38 [16];\n  \n  FUN_002e8070(acStack_38,param_1);\n  if (acStack_38[0] != '\0') {\n    lVar5 = *(long *)(*param_1 + -0x18) + (long)param_1;\n    plVar1 = *(long **)(lVar5 + 0xf8);\n    if (plVar1 == (long *)0x0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_00319460();\n    }\n    if (*(char *)(lVar5 + 0xe4) == '\0') {\n      plVar2 = *(long **)(lVar5 + 0xf0);\n      if (plVar2 == (long *)0x0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_00319460();\n      }\n      uVar4 = (**(code **)(*plVar2 + 0x50))(plVar2,0x20);\n      *(undefined4 *)(lVar5 + 0xe0) = uVar4;\n      lVar3 = *param_1;\n      *(undefined1 *)(lVar5 + 0xe4) = 1;\n      lVar5 = *(long *)(lVar3 + -0x18) + (long)param_1;\n    }\n    else {\n      uVar4 = *(undefined4 *)(lVar5 + 0xe0);\n    }\n    (**(code **)(*plVar1 + 0x18))\n              (plVar1,*(long *)(lVar5 + 0xe8),*(long *)(lVar5 + 0xe8) == 0,lVar5,uVar4,param_2);\n    if (extraout_DL != '\0') {\n      lVar5 = *(long *)(*param_1 + -0x18) + (long)param_1;\n      FUN_00301270(lVar5,*(uint *)(lVar5 + 0x20) | 1);\n    }\n  }\n  FUN_002e80e0(acStack_38);\n  return param_1;\n}\n\n" (function_definition "long * thunk_FUN_002e8bf0(long *param_1,undefined8 param_2)\n\n{\n  long *plVar1;\n  long *plVar2;\n  long lVar3;\n  undefined4 uVar4;\n  char extraout_DL;\n  long lVar5;\n  char acStack_38 [16];\n  \n  FUN_002e8070(acStack_38,param_1);\n  if (acStack_38[0] != '\0') {\n    lVar5 = *(long *)(*param_1 + -0x18) + (long)param_1;\n    plVar1 = *(long **)(lVar5 + 0xf8);\n    if (plVar1 == (long *)0x0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_00319460();\n    }\n    if (*(char *)(lVar5 + 0xe4) == '\0') {\n      plVar2 = *(long **)(lVar5 + 0xf0);\n      if (plVar2 == (long *)0x0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_00319460();\n      }\n      uVar4 = (**(code **)(*plVar2 + 0x50))(plVar2,0x20);\n      *(undefined4 *)(lVar5 + 0xe0) = uVar4;\n      lVar3 = *param_1;\n      *(undefined1 *)(lVar5 + 0xe4) = 1;\n      lVar5 = *(long *)(lVar3 + -0x18) + (long)param_1;\n    }\n    else {\n      uVar4 = *(undefined4 *)(lVar5 + 0xe0);\n    }\n    (**(code **)(*plVar1 + 0x18))\n              (plVar1,*(long *)(lVar5 + 0xe8),*(long *)(lVar5 + 0xe8) == 0,lVar5,uVar4,param_2);\n    if (extraout_DL != '\0') {\n      lVar5 = *(long *)(*param_1 + -0x18) + (long)param_1;\n      FUN_00301270(lVar5,*(uint *)(lVar5 + 0x20) | 1);\n    }\n  }\n  FUN_002e80e0(acStack_38);\n  return param_1;\n}" (sized_type_specifier "long" long) (pointer_declarator "* thunk_FUN_002e8bf0(long *param_1,undefined8 param_2)" * (function_declarator "thunk_FUN_002e8bf0(long *param_1,undefined8 param_2)" identifier (parameter_list "(long *param_1,undefined8 param_2)" ( (parameter_declaration "long *param_1" (sized_type_specifier "long" long) (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined8 param_2" type_identifier identifier) )))) (compound_statement "{\n  long *plVar1;\n  long *plVar2;\n  long lVar3;\n  undefined4 uVar4;\n  char extraout_DL;\n  long lVar5;\n  char acStack_38 [16];\n  \n  FUN_002e8070(acStack_38,param_1);\n  if (acStack_38[0] != '\0') {\n    lVar5 = *(long *)(*param_1 + -0x18) + (long)param_1;\n    plVar1 = *(long **)(lVar5 + 0xf8);\n    if (plVar1 == (long *)0x0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_00319460();\n    }\n    if (*(char *)(lVar5 + 0xe4) == '\0') {\n      plVar2 = *(long **)(lVar5 + 0xf0);\n      if (plVar2 == (long *)0x0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_00319460();\n      }\n      uVar4 = (**(code **)(*plVar2 + 0x50))(plVar2,0x20);\n      *(undefined4 *)(lVar5 + 0xe0) = uVar4;\n      lVar3 = *param_1;\n      *(undefined1 *)(lVar5 + 0xe4) = 1;\n      lVar5 = *(long *)(lVar3 + -0x18) + (long)param_1;\n    }\n    else {\n      uVar4 = *(undefined4 *)(lVar5 + 0xe0);\n    }\n    (**(code **)(*plVar1 + 0x18))\n              (plVar1,*(long *)(lVar5 + 0xe8),*(long *)(lVar5 + 0xe8) == 0,lVar5,uVar4,param_2);\n    if (extraout_DL != '\0') {\n      lVar5 = *(long *)(*param_1 + -0x18) + (long)param_1;\n      FUN_00301270(lVar5,*(uint *)(lVar5 + 0x20) | 1);\n    }\n  }\n  FUN_002e80e0(acStack_38);\n  return param_1;\n}" { (declaration "long *plVar1;" (sized_type_specifier "long" long) (pointer_declarator "*plVar1" * identifier) ;) (declaration "long *plVar2;" (sized_type_specifier "long" long) (pointer_declarator "*plVar2" * identifier) ;) (declaration "long lVar3;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "char extraout_DL;" primitive_type identifier ;) (declaration "long lVar5;" (sized_type_specifier "long" long) identifier ;) (declaration "char acStack_38 [16];" primitive_type (array_declarator "acStack_38 [16]" identifier [ number_literal ]) ;) (expression_statement "FUN_002e8070(acStack_38,param_1);" (call_expression "FUN_002e8070(acStack_38,param_1)" identifier (argument_list "(acStack_38,param_1)" ( identifier , identifier ))) ;) (if_statement "if (acStack_38[0] != '\0') {\n    lVar5 = *(long *)(*param_1 + -0x18) + (long)param_1;\n    plVar1 = *(long **)(lVar5 + 0xf8);\n    if (plVar1 == (long *)0x0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_00319460();\n    }\n    if (*(char *)(lVar5 + 0xe4) == '\0') {\n      plVar2 = *(long **)(lVar5 + 0xf0);\n      if (plVar2 == (long *)0x0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_00319460();\n      }\n      uVar4 = (**(code **)(*plVar2 + 0x50))(plVar2,0x20);\n      *(undefined4 *)(lVar5 + 0xe0) = uVar4;\n      lVar3 = *param_1;\n      *(undefined1 *)(lVar5 + 0xe4) = 1;\n      lVar5 = *(long *)(lVar3 + -0x18) + (long)param_1;\n    }\n    else {\n      uVar4 = *(undefined4 *)(lVar5 + 0xe0);\n    }\n    (**(code **)(*plVar1 + 0x18))\n              (plVar1,*(long *)(lVar5 + 0xe8),*(long *)(lVar5 + 0xe8) == 0,lVar5,uVar4,param_2);\n    if (extraout_DL != '\0') {\n      lVar5 = *(long *)(*param_1 + -0x18) + (long)param_1;\n      FUN_00301270(lVar5,*(uint *)(lVar5 + 0x20) | 1);\n    }\n  }" if (parenthesized_expression "(acStack_38[0] != '\0')" ( (binary_expression "acStack_38[0] != '\0'" (subscript_expression "acStack_38[0]" identifier [ number_literal ]) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    lVar5 = *(long *)(*param_1 + -0x18) + (long)param_1;\n    plVar1 = *(long **)(lVar5 + 0xf8);\n    if (plVar1 == (long *)0x0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_00319460();\n    }\n    if (*(char *)(lVar5 + 0xe4) == '\0') {\n      plVar2 = *(long **)(lVar5 + 0xf0);\n      if (plVar2 == (long *)0x0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_00319460();\n      }\n      uVar4 = (**(code **)(*plVar2 + 0x50))(plVar2,0x20);\n      *(undefined4 *)(lVar5 + 0xe0) = uVar4;\n      lVar3 = *param_1;\n      *(undefined1 *)(lVar5 + 0xe4) = 1;\n      lVar5 = *(long *)(lVar3 + -0x18) + (long)param_1;\n    }\n    else {\n      uVar4 = *(undefined4 *)(lVar5 + 0xe0);\n    }\n    (**(code **)(*plVar1 + 0x18))\n              (plVar1,*(long *)(lVar5 + 0xe8),*(long *)(lVar5 + 0xe8) == 0,lVar5,uVar4,param_2);\n    if (extraout_DL != '\0') {\n      lVar5 = *(long *)(*param_1 + -0x18) + (long)param_1;\n      FUN_00301270(lVar5,*(uint *)(lVar5 + 0x20) | 1);\n    }\n  }" { (expression_statement "lVar5 = *(long *)(*param_1 + -0x18) + (long)param_1;" (assignment_expression "lVar5 = *(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 "plVar1 = *(long **)(lVar5 + 0xf8);" (assignment_expression "plVar1 = *(long **)(lVar5 + 0xf8)" identifier = (pointer_expression "*(long **)(lVar5 + 0xf8)" * (cast_expression "(long **)(lVar5 + 0xf8)" ( (type_descriptor "long **" (sized_type_specifier "long" long) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(lVar5 + 0xf8)" ( (binary_expression "lVar5 + 0xf8" identifier + number_literal) ))))) ;) (if_statement "if (plVar1 == (long *)0x0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_00319460();\n    }" if (parenthesized_expression "(plVar1 == (long *)0x0)" ( (binary_expression "plVar1 == (long *)0x0" identifier == (cast_expression "(long *)0x0" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      FUN_00319460();\n    }" { comment (expression_statement "FUN_00319460();" (call_expression "FUN_00319460()" identifier (argument_list "()" ( ))) ;) })) (if_statement "if (*(char *)(lVar5 + 0xe4) == '\0') {\n      plVar2 = *(long **)(lVar5 + 0xf0);\n      if (plVar2 == (long *)0x0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_00319460();\n      }\n      uVar4 = (**(code **)(*plVar2 + 0x50))(plVar2,0x20);\n      *(undefined4 *)(lVar5 + 0xe0) = uVar4;\n      lVar3 = *param_1;\n      *(undefined1 *)(lVar5 + 0xe4) = 1;\n      lVar5 = *(long *)(lVar3 + -0x18) + (long)param_1;\n    }\n    else {\n      uVar4 = *(undefined4 *)(lVar5 + 0xe0);\n    }" if (parenthesized_expression "(*(char *)(lVar5 + 0xe4) == '\0')" ( (binary_expression "*(char *)(lVar5 + 0xe4) == '\0'" (pointer_expression "*(char *)(lVar5 + 0xe4)" * (cast_expression "(char *)(lVar5 + 0xe4)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar5 + 0xe4)" ( (binary_expression "lVar5 + 0xe4" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      plVar2 = *(long **)(lVar5 + 0xf0);\n      if (plVar2 == (long *)0x0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_00319460();\n      }\n      uVar4 = (**(code **)(*plVar2 + 0x50))(plVar2,0x20);\n      *(undefined4 *)(lVar5 + 0xe0) = uVar4;\n      lVar3 = *param_1;\n      *(undefined1 *)(lVar5 + 0xe4) = 1;\n      lVar5 = *(long *)(lVar3 + -0x18) + (long)param_1;\n    }" { (expression_statement "plVar2 = *(long **)(lVar5 + 0xf0);" (assignment_expression "plVar2 = *(long **)(lVar5 + 0xf0)" identifier = (pointer_expression "*(long **)(lVar5 + 0xf0)" * (cast_expression "(long **)(lVar5 + 0xf0)" ( (type_descriptor "long **" (sized_type_specifier "long" long) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(lVar5 + 0xf0)" ( (binary_expression "lVar5 + 0xf0" identifier + number_literal) ))))) ;) (if_statement "if (plVar2 == (long *)0x0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_00319460();\n      }" if (parenthesized_expression "(plVar2 == (long *)0x0)" ( (binary_expression "plVar2 == (long *)0x0" identifier == (cast_expression "(long *)0x0" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n        FUN_00319460();\n      }" { comment (expression_statement "FUN_00319460();" (call_expression "FUN_00319460()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "uVar4 = (**(code **)(*plVar2 + 0x50))(plVar2,0x20);" (assignment_expression "uVar4 = (**(code **)(*plVar2 + 0x50))(plVar2,0x20)" identifier = (call_expression "(**(code **)(*plVar2 + 0x50))(plVar2,0x20)" (parenthesized_expression "(**(code **)(*plVar2 + 0x50))" ( (pointer_expression "**(code **)(*plVar2 + 0x50)" * (pointer_expression "*(code **)(*plVar2 + 0x50)" * (cast_expression "(code **)(*plVar2 + 0x50)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*plVar2 + 0x50)" ( (binary_expression "*plVar2 + 0x50" (pointer_expression "*plVar2" * identifier) + number_literal) ))))) )) (argument_list "(plVar2,0x20)" ( identifier , number_literal )))) ;) (expression_statement "*(undefined4 *)(lVar5 + 0xe0) = uVar4;" (assignment_expression "*(undefined4 *)(lVar5 + 0xe0) = uVar4" (pointer_expression "*(undefined4 *)(lVar5 + 0xe0)" * (cast_expression "(undefined4 *)(lVar5 + 0xe0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar5 + 0xe0)" ( (binary_expression "lVar5 + 0xe0" identifier + number_literal) )))) = identifier) ;) (expression_statement "lVar3 = *param_1;" (assignment_expression "lVar3 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "*(undefined1 *)(lVar5 + 0xe4) = 1;" (assignment_expression "*(undefined1 *)(lVar5 + 0xe4) = 1" (pointer_expression "*(undefined1 *)(lVar5 + 0xe4)" * (cast_expression "(undefined1 *)(lVar5 + 0xe4)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar5 + 0xe4)" ( (binary_expression "lVar5 + 0xe4" identifier + number_literal) )))) = number_literal) ;) (expression_statement "lVar5 = *(long *)(lVar3 + -0x18) + (long)param_1;" (assignment_expression "lVar5 = *(long *)(lVar3 + -0x18) + (long)param_1" identifier = (binary_expression "*(long *)(lVar3 + -0x18) + (long)param_1" (pointer_expression "*(long *)(lVar3 + -0x18)" * (cast_expression "(long *)(lVar3 + -0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + -0x18)" ( (binary_expression "lVar3 + -0x18" identifier + number_literal) )))) + (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier))) ;) }) (else_clause "else {\n      uVar4 = *(undefined4 *)(lVar5 + 0xe0);\n    }" else (compound_statement "{\n      uVar4 = *(undefined4 *)(lVar5 + 0xe0);\n    }" { (expression_statement "uVar4 = *(undefined4 *)(lVar5 + 0xe0);" (assignment_expression "uVar4 = *(undefined4 *)(lVar5 + 0xe0)" identifier = (pointer_expression "*(undefined4 *)(lVar5 + 0xe0)" * (cast_expression "(undefined4 *)(lVar5 + 0xe0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar5 + 0xe0)" ( (binary_expression "lVar5 + 0xe0" identifier + number_literal) ))))) ;) }))) (expression_statement "(**(code **)(*plVar1 + 0x18))\n              (plVar1,*(long *)(lVar5 + 0xe8),*(long *)(lVar5 + 0xe8) == 0,lVar5,uVar4,param_2);" (call_expression "(**(code **)(*plVar1 + 0x18))\n              (plVar1,*(long *)(lVar5 + 0xe8),*(long *)(lVar5 + 0xe8) == 0,lVar5,uVar4,param_2)" (parenthesized_expression "(**(code **)(*plVar1 + 0x18))" ( (pointer_expression "**(code **)(*plVar1 + 0x18)" * (pointer_expression "*(code **)(*plVar1 + 0x18)" * (cast_expression "(code **)(*plVar1 + 0x18)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*plVar1 + 0x18)" ( (binary_expression "*plVar1 + 0x18" (pointer_expression "*plVar1" * identifier) + number_literal) ))))) )) (argument_list "(plVar1,*(long *)(lVar5 + 0xe8),*(long *)(lVar5 + 0xe8) == 0,lVar5,uVar4,param_2)" ( identifier , (pointer_expression "*(long *)(lVar5 + 0xe8)" * (cast_expression "(long *)(lVar5 + 0xe8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar5 + 0xe8)" ( (binary_expression "lVar5 + 0xe8" identifier + number_literal) )))) , (binary_expression "*(long *)(lVar5 + 0xe8) == 0" (pointer_expression "*(long *)(lVar5 + 0xe8)" * (cast_expression "(long *)(lVar5 + 0xe8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar5 + 0xe8)" ( (binary_expression "lVar5 + 0xe8" identifier + number_literal) )))) == number_literal) , identifier , identifier , identifier ))) ;) (if_statement "if (extraout_DL != '\0') {\n      lVar5 = *(long *)(*param_1 + -0x18) + (long)param_1;\n      FUN_00301270(lVar5,*(uint *)(lVar5 + 0x20) | 1);\n    }" if (parenthesized_expression "(extraout_DL != '\0')" ( (binary_expression "extraout_DL != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      lVar5 = *(long *)(*param_1 + -0x18) + (long)param_1;\n      FUN_00301270(lVar5,*(uint *)(lVar5 + 0x20) | 1);\n    }" { (expression_statement "lVar5 = *(long *)(*param_1 + -0x18) + (long)param_1;" (assignment_expression "lVar5 = *(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(lVar5,*(uint *)(lVar5 + 0x20) | 1);" (call_expression "FUN_00301270(lVar5,*(uint *)(lVar5 + 0x20) | 1)" identifier (argument_list "(lVar5,*(uint *)(lVar5 + 0x20) | 1)" ( identifier , (binary_expression "*(uint *)(lVar5 + 0x20) | 1" (pointer_expression "*(uint *)(lVar5 + 0x20)" * (cast_expression "(uint *)(lVar5 + 0x20)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar5 + 0x20)" ( (binary_expression "lVar5 + 0x20" identifier + number_literal) )))) | number_literal) ))) ;) })) })) (expression_statement "FUN_002e80e0(acStack_38);" (call_expression "FUN_002e80e0(acStack_38)" identifier (argument_list "(acStack_38)" ( identifier ))) ;) (return_statement "return param_1;" return identifier ;) })))
(translation_unit "/* std::wostream::TEMPNAMEPLACEHOLDERVALUE(long) */\n\nwostream * __thiscall std::wostream::operator<<(wostream *this,long param_1)\n\n{\n  long *plVar1;\n  long *plVar2;\n  long lVar3;\n  undefined4 uVar4;\n  char extraout_DL;\n  wostream *pwVar5;\n  sentry asStack_38 [16];\n  \n  sentry::sentry(asStack_38,this);\n  if (asStack_38[0] != (sentry)0x0) {\n    pwVar5 = this + *(long *)(*(long *)this + -0x18);\n    plVar1 = *(long **)(pwVar5 + 0xf8);\n    if (plVar1 == (long *)0x0) {\n                    /* WARNING: Subroutine does not return */\n      __throw_bad_cast();\n    }\n    if (pwVar5[0xe4] == (wostream)0x0) {\n      plVar2 = *(long **)(pwVar5 + 0xf0);\n      if (plVar2 == (long *)0x0) {\n                    /* WARNING: Subroutine does not return */\n        __throw_bad_cast();\n      }\n      uVar4 = (**(code **)(*plVar2 + 0x50))(plVar2,0x20);\n      *(undefined4 *)(pwVar5 + 0xe0) = uVar4;\n      lVar3 = *(long *)this;\n      pwVar5[0xe4] = (wostream)0x1;\n      pwVar5 = this + *(long *)(lVar3 + -0x18);\n    }\n    else {\n      uVar4 = *(undefined4 *)(pwVar5 + 0xe0);\n    }\n    (**(code **)(*plVar1 + 0x18))\n              (plVar1,*(long *)(pwVar5 + 0xe8),*(long *)(pwVar5 + 0xe8) == 0,pwVar5,uVar4,param_1);\n    if (extraout_DL != '\0') {\n      wios::clear((wios *)(this + *(long *)(*(long *)this + -0x18)),\n                  *(_Ios_Iostate *)((wios *)(this + *(long *)(*(long *)this + -0x18)) + 0x20) |\n                  _S_badbit);\n    }\n  }\n  sentry::~sentry(asStack_38);\n  return this;\n}\n\n" comment (ERROR "wostream * __thiscall std::wostream::operator<<(wostream *this,long param_1)" (binary_expression "wostream * __thiscall std::wostream::operator<<(wostream *this,long param_1)" (binary_expression "wostream * __thiscall" identifier * identifier) (ERROR "std::wostream::operator" identifier : : identifier : : identifier) << (parenthesized_expression "(wostream *this,long param_1)" ( (comma_expression "wostream *this,long param_1" (binary_expression "wostream *this" identifier * identifier) , (ERROR "long" identifier) identifier) )))) (compound_statement "{\n  long *plVar1;\n  long *plVar2;\n  long lVar3;\n  undefined4 uVar4;\n  char extraout_DL;\n  wostream *pwVar5;\n  sentry asStack_38 [16];\n  \n  sentry::sentry(asStack_38,this);\n  if (asStack_38[0] != (sentry)0x0) {\n    pwVar5 = this + *(long *)(*(long *)this + -0x18);\n    plVar1 = *(long **)(pwVar5 + 0xf8);\n    if (plVar1 == (long *)0x0) {\n                    /* WARNING: Subroutine does not return */\n      __throw_bad_cast();\n    }\n    if (pwVar5[0xe4] == (wostream)0x0) {\n      plVar2 = *(long **)(pwVar5 + 0xf0);\n      if (plVar2 == (long *)0x0) {\n                    /* WARNING: Subroutine does not return */\n        __throw_bad_cast();\n      }\n      uVar4 = (**(code **)(*plVar2 + 0x50))(plVar2,0x20);\n      *(undefined4 *)(pwVar5 + 0xe0) = uVar4;\n      lVar3 = *(long *)this;\n      pwVar5[0xe4] = (wostream)0x1;\n      pwVar5 = this + *(long *)(lVar3 + -0x18);\n    }\n    else {\n      uVar4 = *(undefined4 *)(pwVar5 + 0xe0);\n    }\n    (**(code **)(*plVar1 + 0x18))\n              (plVar1,*(long *)(pwVar5 + 0xe8),*(long *)(pwVar5 + 0xe8) == 0,pwVar5,uVar4,param_1);\n    if (extraout_DL != '\0') {\n      wios::clear((wios *)(this + *(long *)(*(long *)this + -0x18)),\n                  *(_Ios_Iostate *)((wios *)(this + *(long *)(*(long *)this + -0x18)) + 0x20) |\n                  _S_badbit);\n    }\n  }\n  sentry::~sentry(asStack_38);\n  return this;\n}" { (declaration "long *plVar1;" (sized_type_specifier "long" long) (pointer_declarator "*plVar1" * identifier) ;) (declaration "long *plVar2;" (sized_type_specifier "long" long) (pointer_declarator "*plVar2" * identifier) ;) (declaration "long lVar3;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "char extraout_DL;" primitive_type identifier ;) (declaration "wostream *pwVar5;" type_identifier (pointer_declarator "*pwVar5" * identifier) ;) (declaration "sentry asStack_38 [16];" type_identifier (array_declarator "asStack_38 [16]" identifier [ number_literal ]) ;) (labeled_statement "sentry::sentry(asStack_38,this);" statement_identifier : (ERROR ":" :) (expression_statement "sentry(asStack_38,this);" (call_expression "sentry(asStack_38,this)" identifier (argument_list "(asStack_38,this)" ( identifier , identifier ))) ;)) (if_statement "if (asStack_38[0] != (sentry)0x0) {\n    pwVar5 = this + *(long *)(*(long *)this + -0x18);\n    plVar1 = *(long **)(pwVar5 + 0xf8);\n    if (plVar1 == (long *)0x0) {\n                    /* WARNING: Subroutine does not return */\n      __throw_bad_cast();\n    }\n    if (pwVar5[0xe4] == (wostream)0x0) {\n      plVar2 = *(long **)(pwVar5 + 0xf0);\n      if (plVar2 == (long *)0x0) {\n                    /* WARNING: Subroutine does not return */\n        __throw_bad_cast();\n      }\n      uVar4 = (**(code **)(*plVar2 + 0x50))(plVar2,0x20);\n      *(undefined4 *)(pwVar5 + 0xe0) = uVar4;\n      lVar3 = *(long *)this;\n      pwVar5[0xe4] = (wostream)0x1;\n      pwVar5 = this + *(long *)(lVar3 + -0x18);\n    }\n    else {\n      uVar4 = *(undefined4 *)(pwVar5 + 0xe0);\n    }\n    (**(code **)(*plVar1 + 0x18))\n              (plVar1,*(long *)(pwVar5 + 0xe8),*(long *)(pwVar5 + 0xe8) == 0,pwVar5,uVar4,param_1);\n    if (extraout_DL != '\0') {\n      wios::clear((wios *)(this + *(long *)(*(long *)this + -0x18)),\n                  *(_Ios_Iostate *)((wios *)(this + *(long *)(*(long *)this + -0x18)) + 0x20) |\n                  _S_badbit);\n    }\n  }" if (parenthesized_expression "(asStack_38[0] != (sentry)0x0)" ( (binary_expression "asStack_38[0] != (sentry)0x0" (subscript_expression "asStack_38[0]" identifier [ number_literal ]) != (cast_expression "(sentry)0x0" ( (type_descriptor "sentry" type_identifier) ) number_literal)) )) (compound_statement "{\n    pwVar5 = this + *(long *)(*(long *)this + -0x18);\n    plVar1 = *(long **)(pwVar5 + 0xf8);\n    if (plVar1 == (long *)0x0) {\n                    /* WARNING: Subroutine does not return */\n      __throw_bad_cast();\n    }\n    if (pwVar5[0xe4] == (wostream)0x0) {\n      plVar2 = *(long **)(pwVar5 + 0xf0);\n      if (plVar2 == (long *)0x0) {\n                    /* WARNING: Subroutine does not return */\n        __throw_bad_cast();\n      }\n      uVar4 = (**(code **)(*plVar2 + 0x50))(plVar2,0x20);\n      *(undefined4 *)(pwVar5 + 0xe0) = uVar4;\n      lVar3 = *(long *)this;\n      pwVar5[0xe4] = (wostream)0x1;\n      pwVar5 = this + *(long *)(lVar3 + -0x18);\n    }\n    else {\n      uVar4 = *(undefined4 *)(pwVar5 + 0xe0);\n    }\n    (**(code **)(*plVar1 + 0x18))\n              (plVar1,*(long *)(pwVar5 + 0xe8),*(long *)(pwVar5 + 0xe8) == 0,pwVar5,uVar4,param_1);\n    if (extraout_DL != '\0') {\n      wios::clear((wios *)(this + *(long *)(*(long *)this + -0x18)),\n                  *(_Ios_Iostate *)((wios *)(this + *(long *)(*(long *)this + -0x18)) + 0x20) |\n                  _S_badbit);\n    }\n  }" { (expression_statement "pwVar5 = this + *(long *)(*(long *)this + -0x18);" (assignment_expression "pwVar5 = this + *(long *)(*(long *)this + -0x18)" identifier = (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) )))))) ;) (expression_statement "plVar1 = *(long **)(pwVar5 + 0xf8);" (assignment_expression "plVar1 = *(long **)(pwVar5 + 0xf8)" identifier = (pointer_expression "*(long **)(pwVar5 + 0xf8)" * (cast_expression "(long **)(pwVar5 + 0xf8)" ( (type_descriptor "long **" (sized_type_specifier "long" long) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pwVar5 + 0xf8)" ( (binary_expression "pwVar5 + 0xf8" identifier + number_literal) ))))) ;) (if_statement "if (plVar1 == (long *)0x0) {\n                    /* WARNING: Subroutine does not return */\n      __throw_bad_cast();\n    }" if (parenthesized_expression "(plVar1 == (long *)0x0)" ( (binary_expression "plVar1 == (long *)0x0" identifier == (cast_expression "(long *)0x0" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      __throw_bad_cast();\n    }" { comment (expression_statement "__throw_bad_cast();" (call_expression "__throw_bad_cast()" identifier (argument_list "()" ( ))) ;) })) (if_statement "if (pwVar5[0xe4] == (wostream)0x0) {\n      plVar2 = *(long **)(pwVar5 + 0xf0);\n      if (plVar2 == (long *)0x0) {\n                    /* WARNING: Subroutine does not return */\n        __throw_bad_cast();\n      }\n      uVar4 = (**(code **)(*plVar2 + 0x50))(plVar2,0x20);\n      *(undefined4 *)(pwVar5 + 0xe0) = uVar4;\n      lVar3 = *(long *)this;\n      pwVar5[0xe4] = (wostream)0x1;\n      pwVar5 = this + *(long *)(lVar3 + -0x18);\n    }\n    else {\n      uVar4 = *(undefined4 *)(pwVar5 + 0xe0);\n    }" if (parenthesized_expression "(pwVar5[0xe4] == (wostream)0x0)" ( (binary_expression "pwVar5[0xe4] == (wostream)0x0" (subscript_expression "pwVar5[0xe4]" identifier [ number_literal ]) == (cast_expression "(wostream)0x0" ( (type_descriptor "wostream" type_identifier) ) number_literal)) )) (compound_statement "{\n      plVar2 = *(long **)(pwVar5 + 0xf0);\n      if (plVar2 == (long *)0x0) {\n                    /* WARNING: Subroutine does not return */\n        __throw_bad_cast();\n      }\n      uVar4 = (**(code **)(*plVar2 + 0x50))(plVar2,0x20);\n      *(undefined4 *)(pwVar5 + 0xe0) = uVar4;\n      lVar3 = *(long *)this;\n      pwVar5[0xe4] = (wostream)0x1;\n      pwVar5 = this + *(long *)(lVar3 + -0x18);\n    }" { (expression_statement "plVar2 = *(long **)(pwVar5 + 0xf0);" (assignment_expression "plVar2 = *(long **)(pwVar5 + 0xf0)" identifier = (pointer_expression "*(long **)(pwVar5 + 0xf0)" * (cast_expression "(long **)(pwVar5 + 0xf0)" ( (type_descriptor "long **" (sized_type_specifier "long" long) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pwVar5 + 0xf0)" ( (binary_expression "pwVar5 + 0xf0" identifier + number_literal) ))))) ;) (if_statement "if (plVar2 == (long *)0x0) {\n                    /* WARNING: Subroutine does not return */\n        __throw_bad_cast();\n      }" if (parenthesized_expression "(plVar2 == (long *)0x0)" ( (binary_expression "plVar2 == (long *)0x0" identifier == (cast_expression "(long *)0x0" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n        __throw_bad_cast();\n      }" { comment (expression_statement "__throw_bad_cast();" (call_expression "__throw_bad_cast()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "uVar4 = (**(code **)(*plVar2 + 0x50))(plVar2,0x20);" (assignment_expression "uVar4 = (**(code **)(*plVar2 + 0x50))(plVar2,0x20)" identifier = (call_expression "(**(code **)(*plVar2 + 0x50))(plVar2,0x20)" (parenthesized_expression "(**(code **)(*plVar2 + 0x50))" ( (pointer_expression "**(code **)(*plVar2 + 0x50)" * (pointer_expression "*(code **)(*plVar2 + 0x50)" * (cast_expression "(code **)(*plVar2 + 0x50)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*plVar2 + 0x50)" ( (binary_expression "*plVar2 + 0x50" (pointer_expression "*plVar2" * identifier) + number_literal) ))))) )) (argument_list "(plVar2,0x20)" ( identifier , number_literal )))) ;) (expression_statement "*(undefined4 *)(pwVar5 + 0xe0) = uVar4;" (assignment_expression "*(undefined4 *)(pwVar5 + 0xe0) = uVar4" (pointer_expression "*(undefined4 *)(pwVar5 + 0xe0)" * (cast_expression "(undefined4 *)(pwVar5 + 0xe0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pwVar5 + 0xe0)" ( (binary_expression "pwVar5 + 0xe0" identifier + number_literal) )))) = identifier) ;) (expression_statement "lVar3 = *(long *)this;" (assignment_expression "lVar3 = *(long *)this" identifier = (pointer_expression "*(long *)this" * (cast_expression "(long *)this" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "pwVar5[0xe4] = (wostream)0x1;" (assignment_expression "pwVar5[0xe4] = (wostream)0x1" (subscript_expression "pwVar5[0xe4]" identifier [ number_literal ]) = (cast_expression "(wostream)0x1" ( (type_descriptor "wostream" type_identifier) ) number_literal)) ;) (expression_statement "pwVar5 = this + *(long *)(lVar3 + -0x18);" (assignment_expression "pwVar5 = this + *(long *)(lVar3 + -0x18)" identifier = (binary_expression "this + *(long *)(lVar3 + -0x18)" identifier + (pointer_expression "*(long *)(lVar3 + -0x18)" * (cast_expression "(long *)(lVar3 + -0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + -0x18)" ( (binary_expression "lVar3 + -0x18" identifier + number_literal) )))))) ;) }) (else_clause "else {\n      uVar4 = *(undefined4 *)(pwVar5 + 0xe0);\n    }" else (compound_statement "{\n      uVar4 = *(undefined4 *)(pwVar5 + 0xe0);\n    }" { (expression_statement "uVar4 = *(undefined4 *)(pwVar5 + 0xe0);" (assignment_expression "uVar4 = *(undefined4 *)(pwVar5 + 0xe0)" identifier = (pointer_expression "*(undefined4 *)(pwVar5 + 0xe0)" * (cast_expression "(undefined4 *)(pwVar5 + 0xe0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pwVar5 + 0xe0)" ( (binary_expression "pwVar5 + 0xe0" identifier + number_literal) ))))) ;) }))) (expression_statement "(**(code **)(*plVar1 + 0x18))\n              (plVar1,*(long *)(pwVar5 + 0xe8),*(long *)(pwVar5 + 0xe8) == 0,pwVar5,uVar4,param_1);" (call_expression "(**(code **)(*plVar1 + 0x18))\n              (plVar1,*(long *)(pwVar5 + 0xe8),*(long *)(pwVar5 + 0xe8) == 0,pwVar5,uVar4,param_1)" (parenthesized_expression "(**(code **)(*plVar1 + 0x18))" ( (pointer_expression "**(code **)(*plVar1 + 0x18)" * (pointer_expression "*(code **)(*plVar1 + 0x18)" * (cast_expression "(code **)(*plVar1 + 0x18)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*plVar1 + 0x18)" ( (binary_expression "*plVar1 + 0x18" (pointer_expression "*plVar1" * identifier) + number_literal) ))))) )) (argument_list "(plVar1,*(long *)(pwVar5 + 0xe8),*(long *)(pwVar5 + 0xe8) == 0,pwVar5,uVar4,param_1)" ( identifier , (pointer_expression "*(long *)(pwVar5 + 0xe8)" * (cast_expression "(long *)(pwVar5 + 0xe8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pwVar5 + 0xe8)" ( (binary_expression "pwVar5 + 0xe8" identifier + number_literal) )))) , (binary_expression "*(long *)(pwVar5 + 0xe8) == 0" (pointer_expression "*(long *)(pwVar5 + 0xe8)" * (cast_expression "(long *)(pwVar5 + 0xe8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pwVar5 + 0xe8)" ( (binary_expression "pwVar5 + 0xe8" identifier + number_literal) )))) == number_literal) , identifier , identifier , identifier ))) ;) (if_statement "if (extraout_DL != '\0') {\n      wios::clear((wios *)(this + *(long *)(*(long *)this + -0x18)),\n                  *(_Ios_Iostate *)((wios *)(this + *(long *)(*(long *)this + -0x18)) + 0x20) |\n                  _S_badbit);\n    }" if (parenthesized_expression "(extraout_DL != '\0')" ( (binary_expression "extraout_DL != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      wios::clear((wios *)(this + *(long *)(*(long *)this + -0x18)),\n                  *(_Ios_Iostate *)((wios *)(this + *(long *)(*(long *)this + -0x18)) + 0x20) |\n                  _S_badbit);\n    }" { (labeled_statement "wios::clear((wios *)(this + *(long *)(*(long *)this + -0x18)),\n                  *(_Ios_Iostate *)((wios *)(this + *(long *)(*(long *)this + -0x18)) + 0x20) |\n                  _S_badbit);" statement_identifier : (ERROR ":" :) (expression_statement "clear((wios *)(this + *(long *)(*(long *)this + -0x18)),\n                  *(_Ios_Iostate *)((wios *)(this + *(long *)(*(long *)this + -0x18)) + 0x20) |\n                  _S_badbit);" (call_expression "clear((wios *)(this + *(long *)(*(long *)this + -0x18)),\n                  *(_Ios_Iostate *)((wios *)(this + *(long *)(*(long *)this + -0x18)) + 0x20) |\n                  _S_badbit)" identifier (argument_list "((wios *)(this + *(long *)(*(long *)this + -0x18)),\n                  *(_Ios_Iostate *)((wios *)(this + *(long *)(*(long *)this + -0x18)) + 0x20) |\n                  _S_badbit)" ( (cast_expression "(wios *)(this + *(long *)(*(long *)this + -0x18))" ( (type_descriptor "wios *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + *(long *)(*(long *)this + -0x18))" ( (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) ))))) ))) , (binary_expression "*(_Ios_Iostate *)((wios *)(this + *(long *)(*(long *)this + -0x18)) + 0x20) |\n                  _S_badbit" (pointer_expression "*(_Ios_Iostate *)((wios *)(this + *(long *)(*(long *)this + -0x18)) + 0x20)" * (cast_expression "(_Ios_Iostate *)((wios *)(this + *(long *)(*(long *)this + -0x18)) + 0x20)" ( (type_descriptor "_Ios_Iostate *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((wios *)(this + *(long *)(*(long *)this + -0x18)) + 0x20)" ( (binary_expression "(wios *)(this + *(long *)(*(long *)this + -0x18)) + 0x20" (cast_expression "(wios *)(this + *(long *)(*(long *)this + -0x18))" ( (type_descriptor "wios *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + *(long *)(*(long *)this + -0x18))" ( (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) )))) | identifier) ))) ;)) })) })) (labeled_statement "sentry::~sentry(asStack_38);" statement_identifier : (ERROR ":" :) (expression_statement "~sentry(asStack_38);" (unary_expression "~sentry(asStack_38)" ~ (call_expression "sentry(asStack_38)" identifier (argument_list "(asStack_38)" ( identifier )))) ;)) (return_statement "return this;" return identifier ;) }))
(translation_unit "long * thunk_FUN_002e8bf0(long *param_1,undefined8 param_2)\n\n{\n  long *plVar1;\n  long *plVar2;\n  long lVar3;\n  undefined4 uVar4;\n  char extraout_DL;\n  long lVar5;\n  char acStack_38 [16];\n  \n  FUN_002e8070(acStack_38,param_1);\n  if (acStack_38[0] != '\0') {\n    lVar5 = *(long *)(*param_1 + -0x18) + (long)param_1;\n    plVar1 = *(long **)(lVar5 + 0xf8);\n    if (plVar1 == (long *)0x0) {\n                    \n      FUN_00319460();\n    }\n    if (*(char *)(lVar5 + 0xe4) == '\0') {\n      plVar2 = *(long **)(lVar5 + 0xf0);\n      if (plVar2 == (long *)0x0) {\n                    \n        FUN_00319460();\n      }\n      uVar4 = (**(code **)(*plVar2 + 0x50))(plVar2,0x20);\n      *(undefined4 *)(lVar5 + 0xe0) = uVar4;\n      lVar3 = *param_1;\n      *(undefined1 *)(lVar5 + 0xe4) = 1;\n      lVar5 = *(long *)(lVar3 + -0x18) + (long)param_1;\n    }\n    else {\n      uVar4 = *(undefined4 *)(lVar5 + 0xe0);\n    }\n    (**(code **)(*plVar1 + 0x18))\n              (plVar1,*(long *)(lVar5 + 0xe8),*(long *)(lVar5 + 0xe8) == 0,lVar5,uVar4,param_2);\n    if (extraout_DL != '\0') {\n      lVar5 = *(long *)(*param_1 + -0x18) + (long)param_1;\n      FUN_00301270(lVar5,*(uint *)(lVar5 + 0x20) | 1);\n    }\n  }\n  FUN_002e80e0(acStack_38);\n  return param_1;\n}\n\n" (function_definition "long * thunk_FUN_002e8bf0(long *param_1,undefined8 param_2)\n\n{\n  long *plVar1;\n  long *plVar2;\n  long lVar3;\n  undefined4 uVar4;\n  char extraout_DL;\n  long lVar5;\n  char acStack_38 [16];\n  \n  FUN_002e8070(acStack_38,param_1);\n  if (acStack_38[0] != '\0') {\n    lVar5 = *(long *)(*param_1 + -0x18) + (long)param_1;\n    plVar1 = *(long **)(lVar5 + 0xf8);\n    if (plVar1 == (long *)0x0) {\n                    \n      FUN_00319460();\n    }\n    if (*(char *)(lVar5 + 0xe4) == '\0') {\n      plVar2 = *(long **)(lVar5 + 0xf0);\n      if (plVar2 == (long *)0x0) {\n                    \n        FUN_00319460();\n      }\n      uVar4 = (**(code **)(*plVar2 + 0x50))(plVar2,0x20);\n      *(undefined4 *)(lVar5 + 0xe0) = uVar4;\n      lVar3 = *param_1;\n      *(undefined1 *)(lVar5 + 0xe4) = 1;\n      lVar5 = *(long *)(lVar3 + -0x18) + (long)param_1;\n    }\n    else {\n      uVar4 = *(undefined4 *)(lVar5 + 0xe0);\n    }\n    (**(code **)(*plVar1 + 0x18))\n              (plVar1,*(long *)(lVar5 + 0xe8),*(long *)(lVar5 + 0xe8) == 0,lVar5,uVar4,param_2);\n    if (extraout_DL != '\0') {\n      lVar5 = *(long *)(*param_1 + -0x18) + (long)param_1;\n      FUN_00301270(lVar5,*(uint *)(lVar5 + 0x20) | 1);\n    }\n  }\n  FUN_002e80e0(acStack_38);\n  return param_1;\n}" (sized_type_specifier "long" long) (pointer_declarator "* thunk_FUN_002e8bf0(long *param_1,undefined8 param_2)" * (function_declarator "thunk_FUN_002e8bf0(long *param_1,undefined8 param_2)" identifier (parameter_list "(long *param_1,undefined8 param_2)" ( (parameter_declaration "long *param_1" (sized_type_specifier "long" long) (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined8 param_2" type_identifier identifier) )))) (compound_statement "{\n  long *plVar1;\n  long *plVar2;\n  long lVar3;\n  undefined4 uVar4;\n  char extraout_DL;\n  long lVar5;\n  char acStack_38 [16];\n  \n  FUN_002e8070(acStack_38,param_1);\n  if (acStack_38[0] != '\0') {\n    lVar5 = *(long *)(*param_1 + -0x18) + (long)param_1;\n    plVar1 = *(long **)(lVar5 + 0xf8);\n    if (plVar1 == (long *)0x0) {\n                    \n      FUN_00319460();\n    }\n    if (*(char *)(lVar5 + 0xe4) == '\0') {\n      plVar2 = *(long **)(lVar5 + 0xf0);\n      if (plVar2 == (long *)0x0) {\n                    \n        FUN_00319460();\n      }\n      uVar4 = (**(code **)(*plVar2 + 0x50))(plVar2,0x20);\n      *(undefined4 *)(lVar5 + 0xe0) = uVar4;\n      lVar3 = *param_1;\n      *(undefined1 *)(lVar5 + 0xe4) = 1;\n      lVar5 = *(long *)(lVar3 + -0x18) + (long)param_1;\n    }\n    else {\n      uVar4 = *(undefined4 *)(lVar5 + 0xe0);\n    }\n    (**(code **)(*plVar1 + 0x18))\n              (plVar1,*(long *)(lVar5 + 0xe8),*(long *)(lVar5 + 0xe8) == 0,lVar5,uVar4,param_2);\n    if (extraout_DL != '\0') {\n      lVar5 = *(long *)(*param_1 + -0x18) + (long)param_1;\n      FUN_00301270(lVar5,*(uint *)(lVar5 + 0x20) | 1);\n    }\n  }\n  FUN_002e80e0(acStack_38);\n  return param_1;\n}" { (declaration "long *plVar1;" (sized_type_specifier "long" long) (pointer_declarator "*plVar1" * identifier) ;) (declaration "long *plVar2;" (sized_type_specifier "long" long) (pointer_declarator "*plVar2" * identifier) ;) (declaration "long lVar3;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "char extraout_DL;" primitive_type identifier ;) (declaration "long lVar5;" (sized_type_specifier "long" long) identifier ;) (declaration "char acStack_38 [16];" primitive_type (array_declarator "acStack_38 [16]" identifier [ number_literal ]) ;) (expression_statement "FUN_002e8070(acStack_38,param_1);" (call_expression "FUN_002e8070(acStack_38,param_1)" identifier (argument_list "(acStack_38,param_1)" ( identifier , identifier ))) ;) (if_statement "if (acStack_38[0] != '\0') {\n    lVar5 = *(long *)(*param_1 + -0x18) + (long)param_1;\n    plVar1 = *(long **)(lVar5 + 0xf8);\n    if (plVar1 == (long *)0x0) {\n                    \n      FUN_00319460();\n    }\n    if (*(char *)(lVar5 + 0xe4) == '\0') {\n      plVar2 = *(long **)(lVar5 + 0xf0);\n      if (plVar2 == (long *)0x0) {\n                    \n        FUN_00319460();\n      }\n      uVar4 = (**(code **)(*plVar2 + 0x50))(plVar2,0x20);\n      *(undefined4 *)(lVar5 + 0xe0) = uVar4;\n      lVar3 = *param_1;\n      *(undefined1 *)(lVar5 + 0xe4) = 1;\n      lVar5 = *(long *)(lVar3 + -0x18) + (long)param_1;\n    }\n    else {\n      uVar4 = *(undefined4 *)(lVar5 + 0xe0);\n    }\n    (**(code **)(*plVar1 + 0x18))\n              (plVar1,*(long *)(lVar5 + 0xe8),*(long *)(lVar5 + 0xe8) == 0,lVar5,uVar4,param_2);\n    if (extraout_DL != '\0') {\n      lVar5 = *(long *)(*param_1 + -0x18) + (long)param_1;\n      FUN_00301270(lVar5,*(uint *)(lVar5 + 0x20) | 1);\n    }\n  }" if (parenthesized_expression "(acStack_38[0] != '\0')" ( (binary_expression "acStack_38[0] != '\0'" (subscript_expression "acStack_38[0]" identifier [ number_literal ]) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    lVar5 = *(long *)(*param_1 + -0x18) + (long)param_1;\n    plVar1 = *(long **)(lVar5 + 0xf8);\n    if (plVar1 == (long *)0x0) {\n                    \n      FUN_00319460();\n    }\n    if (*(char *)(lVar5 + 0xe4) == '\0') {\n      plVar2 = *(long **)(lVar5 + 0xf0);\n      if (plVar2 == (long *)0x0) {\n                    \n        FUN_00319460();\n      }\n      uVar4 = (**(code **)(*plVar2 + 0x50))(plVar2,0x20);\n      *(undefined4 *)(lVar5 + 0xe0) = uVar4;\n      lVar3 = *param_1;\n      *(undefined1 *)(lVar5 + 0xe4) = 1;\n      lVar5 = *(long *)(lVar3 + -0x18) + (long)param_1;\n    }\n    else {\n      uVar4 = *(undefined4 *)(lVar5 + 0xe0);\n    }\n    (**(code **)(*plVar1 + 0x18))\n              (plVar1,*(long *)(lVar5 + 0xe8),*(long *)(lVar5 + 0xe8) == 0,lVar5,uVar4,param_2);\n    if (extraout_DL != '\0') {\n      lVar5 = *(long *)(*param_1 + -0x18) + (long)param_1;\n      FUN_00301270(lVar5,*(uint *)(lVar5 + 0x20) | 1);\n    }\n  }" { (expression_statement "lVar5 = *(long *)(*param_1 + -0x18) + (long)param_1;" (assignment_expression "lVar5 = *(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 "plVar1 = *(long **)(lVar5 + 0xf8);" (assignment_expression "plVar1 = *(long **)(lVar5 + 0xf8)" identifier = (pointer_expression "*(long **)(lVar5 + 0xf8)" * (cast_expression "(long **)(lVar5 + 0xf8)" ( (type_descriptor "long **" (sized_type_specifier "long" long) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(lVar5 + 0xf8)" ( (binary_expression "lVar5 + 0xf8" identifier + number_literal) ))))) ;) (if_statement "if (plVar1 == (long *)0x0) {\n                    \n      FUN_00319460();\n    }" if (parenthesized_expression "(plVar1 == (long *)0x0)" ( (binary_expression "plVar1 == (long *)0x0" identifier == (cast_expression "(long *)0x0" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    \n      FUN_00319460();\n    }" { (expression_statement "FUN_00319460();" (call_expression "FUN_00319460()" identifier (argument_list "()" ( ))) ;) })) (if_statement "if (*(char *)(lVar5 + 0xe4) == '\0') {\n      plVar2 = *(long **)(lVar5 + 0xf0);\n      if (plVar2 == (long *)0x0) {\n                    \n        FUN_00319460();\n      }\n      uVar4 = (**(code **)(*plVar2 + 0x50))(plVar2,0x20);\n      *(undefined4 *)(lVar5 + 0xe0) = uVar4;\n      lVar3 = *param_1;\n      *(undefined1 *)(lVar5 + 0xe4) = 1;\n      lVar5 = *(long *)(lVar3 + -0x18) + (long)param_1;\n    }\n    else {\n      uVar4 = *(undefined4 *)(lVar5 + 0xe0);\n    }" if (parenthesized_expression "(*(char *)(lVar5 + 0xe4) == '\0')" ( (binary_expression "*(char *)(lVar5 + 0xe4) == '\0'" (pointer_expression "*(char *)(lVar5 + 0xe4)" * (cast_expression "(char *)(lVar5 + 0xe4)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar5 + 0xe4)" ( (binary_expression "lVar5 + 0xe4" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      plVar2 = *(long **)(lVar5 + 0xf0);\n      if (plVar2 == (long *)0x0) {\n                    \n        FUN_00319460();\n      }\n      uVar4 = (**(code **)(*plVar2 + 0x50))(plVar2,0x20);\n      *(undefined4 *)(lVar5 + 0xe0) = uVar4;\n      lVar3 = *param_1;\n      *(undefined1 *)(lVar5 + 0xe4) = 1;\n      lVar5 = *(long *)(lVar3 + -0x18) + (long)param_1;\n    }" { (expression_statement "plVar2 = *(long **)(lVar5 + 0xf0);" (assignment_expression "plVar2 = *(long **)(lVar5 + 0xf0)" identifier = (pointer_expression "*(long **)(lVar5 + 0xf0)" * (cast_expression "(long **)(lVar5 + 0xf0)" ( (type_descriptor "long **" (sized_type_specifier "long" long) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(lVar5 + 0xf0)" ( (binary_expression "lVar5 + 0xf0" identifier + number_literal) ))))) ;) (if_statement "if (plVar2 == (long *)0x0) {\n                    \n        FUN_00319460();\n      }" if (parenthesized_expression "(plVar2 == (long *)0x0)" ( (binary_expression "plVar2 == (long *)0x0" identifier == (cast_expression "(long *)0x0" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    \n        FUN_00319460();\n      }" { (expression_statement "FUN_00319460();" (call_expression "FUN_00319460()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "uVar4 = (**(code **)(*plVar2 + 0x50))(plVar2,0x20);" (assignment_expression "uVar4 = (**(code **)(*plVar2 + 0x50))(plVar2,0x20)" identifier = (call_expression "(**(code **)(*plVar2 + 0x50))(plVar2,0x20)" (parenthesized_expression "(**(code **)(*plVar2 + 0x50))" ( (pointer_expression "**(code **)(*plVar2 + 0x50)" * (pointer_expression "*(code **)(*plVar2 + 0x50)" * (cast_expression "(code **)(*plVar2 + 0x50)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*plVar2 + 0x50)" ( (binary_expression "*plVar2 + 0x50" (pointer_expression "*plVar2" * identifier) + number_literal) ))))) )) (argument_list "(plVar2,0x20)" ( identifier , number_literal )))) ;) (expression_statement "*(undefined4 *)(lVar5 + 0xe0) = uVar4;" (assignment_expression "*(undefined4 *)(lVar5 + 0xe0) = uVar4" (pointer_expression "*(undefined4 *)(lVar5 + 0xe0)" * (cast_expression "(undefined4 *)(lVar5 + 0xe0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar5 + 0xe0)" ( (binary_expression "lVar5 + 0xe0" identifier + number_literal) )))) = identifier) ;) (expression_statement "lVar3 = *param_1;" (assignment_expression "lVar3 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "*(undefined1 *)(lVar5 + 0xe4) = 1;" (assignment_expression "*(undefined1 *)(lVar5 + 0xe4) = 1" (pointer_expression "*(undefined1 *)(lVar5 + 0xe4)" * (cast_expression "(undefined1 *)(lVar5 + 0xe4)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar5 + 0xe4)" ( (binary_expression "lVar5 + 0xe4" identifier + number_literal) )))) = number_literal) ;) (expression_statement "lVar5 = *(long *)(lVar3 + -0x18) + (long)param_1;" (assignment_expression "lVar5 = *(long *)(lVar3 + -0x18) + (long)param_1" identifier = (binary_expression "*(long *)(lVar3 + -0x18) + (long)param_1" (pointer_expression "*(long *)(lVar3 + -0x18)" * (cast_expression "(long *)(lVar3 + -0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + -0x18)" ( (binary_expression "lVar3 + -0x18" identifier + number_literal) )))) + (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier))) ;) }) (else_clause "else {\n      uVar4 = *(undefined4 *)(lVar5 + 0xe0);\n    }" else (compound_statement "{\n      uVar4 = *(undefined4 *)(lVar5 + 0xe0);\n    }" { (expression_statement "uVar4 = *(undefined4 *)(lVar5 + 0xe0);" (assignment_expression "uVar4 = *(undefined4 *)(lVar5 + 0xe0)" identifier = (pointer_expression "*(undefined4 *)(lVar5 + 0xe0)" * (cast_expression "(undefined4 *)(lVar5 + 0xe0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar5 + 0xe0)" ( (binary_expression "lVar5 + 0xe0" identifier + number_literal) ))))) ;) }))) (expression_statement "(**(code **)(*plVar1 + 0x18))\n              (plVar1,*(long *)(lVar5 + 0xe8),*(long *)(lVar5 + 0xe8) == 0,lVar5,uVar4,param_2);" (call_expression "(**(code **)(*plVar1 + 0x18))\n              (plVar1,*(long *)(lVar5 + 0xe8),*(long *)(lVar5 + 0xe8) == 0,lVar5,uVar4,param_2)" (parenthesized_expression "(**(code **)(*plVar1 + 0x18))" ( (pointer_expression "**(code **)(*plVar1 + 0x18)" * (pointer_expression "*(code **)(*plVar1 + 0x18)" * (cast_expression "(code **)(*plVar1 + 0x18)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*plVar1 + 0x18)" ( (binary_expression "*plVar1 + 0x18" (pointer_expression "*plVar1" * identifier) + number_literal) ))))) )) (argument_list "(plVar1,*(long *)(lVar5 + 0xe8),*(long *)(lVar5 + 0xe8) == 0,lVar5,uVar4,param_2)" ( identifier , (pointer_expression "*(long *)(lVar5 + 0xe8)" * (cast_expression "(long *)(lVar5 + 0xe8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar5 + 0xe8)" ( (binary_expression "lVar5 + 0xe8" identifier + number_literal) )))) , (binary_expression "*(long *)(lVar5 + 0xe8) == 0" (pointer_expression "*(long *)(lVar5 + 0xe8)" * (cast_expression "(long *)(lVar5 + 0xe8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar5 + 0xe8)" ( (binary_expression "lVar5 + 0xe8" identifier + number_literal) )))) == number_literal) , identifier , identifier , identifier ))) ;) (if_statement "if (extraout_DL != '\0') {\n      lVar5 = *(long *)(*param_1 + -0x18) + (long)param_1;\n      FUN_00301270(lVar5,*(uint *)(lVar5 + 0x20) | 1);\n    }" if (parenthesized_expression "(extraout_DL != '\0')" ( (binary_expression "extraout_DL != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      lVar5 = *(long *)(*param_1 + -0x18) + (long)param_1;\n      FUN_00301270(lVar5,*(uint *)(lVar5 + 0x20) | 1);\n    }" { (expression_statement "lVar5 = *(long *)(*param_1 + -0x18) + (long)param_1;" (assignment_expression "lVar5 = *(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(lVar5,*(uint *)(lVar5 + 0x20) | 1);" (call_expression "FUN_00301270(lVar5,*(uint *)(lVar5 + 0x20) | 1)" identifier (argument_list "(lVar5,*(uint *)(lVar5 + 0x20) | 1)" ( identifier , (binary_expression "*(uint *)(lVar5 + 0x20) | 1" (pointer_expression "*(uint *)(lVar5 + 0x20)" * (cast_expression "(uint *)(lVar5 + 0x20)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar5 + 0x20)" ( (binary_expression "lVar5 + 0x20" identifier + number_literal) )))) | number_literal) ))) ;) })) })) (expression_statement "FUN_002e80e0(acStack_38);" (call_expression "FUN_002e80e0(acStack_38)" identifier (argument_list "(acStack_38)" ( 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)) , (parameter_declaration TYPE IDENT) )))) (compound_statement { (declaration (sized_type_specifier long) (pointer_declarator * IDENT) ;) (declaration (sized_type_specifier long) (pointer_declarator * IDENT) ;) (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != (char_literal ' escape_sequence ')) )) (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 (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == (char_literal ' escape_sequence ')) )) (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 IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (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 )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) }))) (expression_statement (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 , (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) , IDENT , IDENT , IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (char_literal ' escape_sequence ')) )) (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) ))) ;) })) })) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (return_statement return IDENT ;) })))
(function_definition "long * thunk_FUN_002e8bf0(long *param_1,undefined8 param_2)\n\n{\n  long *plVar1;\n  long *plVar2;\n  long lVar3;\n  undefined4 uVar4;\n  char extraout_DL;\n  long lVar5;\n  char acStack_38 [16];\n  \n  FUN_002e8070(acStack_38,param_1);\n  if (acStack_38[0] != '\0') {\n    lVar5 = *(long *)(*param_1 + -0x18) + (long)param_1;\n    plVar1 = *(long **)(lVar5 + 0xf8);\n    if (plVar1 == (long *)0x0) {\n                    \n      FUN_00319460();\n    }\n    if (*(char *)(lVar5 + 0xe4) == '\0') {\n      plVar2 = *(long **)(lVar5 + 0xf0);\n      if (plVar2 == (long *)0x0) {\n                    \n        FUN_00319460();\n      }\n      uVar4 = (**(code **)(*plVar2 + 0x50))(plVar2,0x20);\n      *(undefined4 *)(lVar5 + 0xe0) = uVar4;\n      lVar3 = *param_1;\n      *(undefined1 *)(lVar5 + 0xe4) = 1;\n      lVar5 = *(long *)(lVar3 + -0x18) + (long)param_1;\n    }\n    else {\n      uVar4 = *(undefined4 *)(lVar5 + 0xe0);\n    }\n    (**(code **)(*plVar1 + 0x18))\n              (plVar1,*(long *)(lVar5 + 0xe8),*(long *)(lVar5 + 0xe8) == 0,lVar5,uVar4,param_2);\n    if (extraout_DL != '\0') {\n      lVar5 = *(long *)(*param_1 + -0x18) + (long)param_1;\n      FUN_00301270(lVar5,*(uint *)(lVar5 + 0x20) | 1);\n    }\n  }\n  FUN_002e80e0(acStack_38);\n  return param_1;\n}" (sized_type_specifier "long" (long "long")) (pointer_declarator "* thunk_FUN_002e8bf0(long *param_1,undefined8 param_2)" (* "*") (function_declarator "thunk_FUN_002e8bf0(long *param_1,undefined8 param_2)" (identifier "thunk_FUN_002e8bf0") (parameter_list "(long *param_1,undefined8 param_2)" (( "(") (parameter_declaration "long *param_1" (sized_type_specifier "long" (long "long")) (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined8 param_2" (type_identifier "undefined8") (identifier "param_2")) () ")")))) (compound_statement "{\n  long *plVar1;\n  long *plVar2;\n  long lVar3;\n  undefined4 uVar4;\n  char extraout_DL;\n  long lVar5;\n  char acStack_38 [16];\n  \n  FUN_002e8070(acStack_38,param_1);\n  if (acStack_38[0] != '\0') {\n    lVar5 = *(long *)(*param_1 + -0x18) + (long)param_1;\n    plVar1 = *(long **)(lVar5 + 0xf8);\n    if (plVar1 == (long *)0x0) {\n                    \n      FUN_00319460();\n    }\n    if (*(char *)(lVar5 + 0xe4) == '\0') {\n      plVar2 = *(long **)(lVar5 + 0xf0);\n      if (plVar2 == (long *)0x0) {\n                    \n        FUN_00319460();\n      }\n      uVar4 = (**(code **)(*plVar2 + 0x50))(plVar2,0x20);\n      *(undefined4 *)(lVar5 + 0xe0) = uVar4;\n      lVar3 = *param_1;\n      *(undefined1 *)(lVar5 + 0xe4) = 1;\n      lVar5 = *(long *)(lVar3 + -0x18) + (long)param_1;\n    }\n    else {\n      uVar4 = *(undefined4 *)(lVar5 + 0xe0);\n    }\n    (**(code **)(*plVar1 + 0x18))\n              (plVar1,*(long *)(lVar5 + 0xe8),*(long *)(lVar5 + 0xe8) == 0,lVar5,uVar4,param_2);\n    if (extraout_DL != '\0') {\n      lVar5 = *(long *)(*param_1 + -0x18) + (long)param_1;\n      FUN_00301270(lVar5,*(uint *)(lVar5 + 0x20) | 1);\n    }\n  }\n  FUN_002e80e0(acStack_38);\n  return param_1;\n}" ({ "{") (declaration "long *plVar1;" (sized_type_specifier "long" (long "long")) (pointer_declarator "*plVar1" (* "*") (identifier "plVar1")) (; ";")) (declaration "long *plVar2;" (sized_type_specifier "long" (long "long")) (pointer_declarator "*plVar2" (* "*") (identifier "plVar2")) (; ";")) (declaration "long lVar3;" (sized_type_specifier "long" (long "long")) (identifier "lVar3") (; ";")) (declaration "undefined4 uVar4;" (type_identifier "undefined4") (identifier "uVar4") (; ";")) (declaration "char extraout_DL;" (primitive_type "char") (identifier "extraout_DL") (; ";")) (declaration "long lVar5;" (sized_type_specifier "long" (long "long")) (identifier "lVar5") (; ";")) (declaration "char acStack_38 [16];" (primitive_type "char") (array_declarator "acStack_38 [16]" (identifier "acStack_38") ([ "[") (number_literal "16") (] "]")) (; ";")) (expression_statement "FUN_002e8070(acStack_38,param_1);" (call_expression "FUN_002e8070(acStack_38,param_1)" (identifier "FUN_002e8070") (argument_list "(acStack_38,param_1)" (( "(") (identifier "acStack_38") (, ",") (identifier "param_1") () ")"))) (; ";")) (if_statement "if (acStack_38[0] != '\0') {\n    lVar5 = *(long *)(*param_1 + -0x18) + (long)param_1;\n    plVar1 = *(long **)(lVar5 + 0xf8);\n    if (plVar1 == (long *)0x0) {\n                    \n      FUN_00319460();\n    }\n    if (*(char *)(lVar5 + 0xe4) == '\0') {\n      plVar2 = *(long **)(lVar5 + 0xf0);\n      if (plVar2 == (long *)0x0) {\n                    \n        FUN_00319460();\n      }\n      uVar4 = (**(code **)(*plVar2 + 0x50))(plVar2,0x20);\n      *(undefined4 *)(lVar5 + 0xe0) = uVar4;\n      lVar3 = *param_1;\n      *(undefined1 *)(lVar5 + 0xe4) = 1;\n      lVar5 = *(long *)(lVar3 + -0x18) + (long)param_1;\n    }\n    else {\n      uVar4 = *(undefined4 *)(lVar5 + 0xe0);\n    }\n    (**(code **)(*plVar1 + 0x18))\n              (plVar1,*(long *)(lVar5 + 0xe8),*(long *)(lVar5 + 0xe8) == 0,lVar5,uVar4,param_2);\n    if (extraout_DL != '\0') {\n      lVar5 = *(long *)(*param_1 + -0x18) + (long)param_1;\n      FUN_00301270(lVar5,*(uint *)(lVar5 + 0x20) | 1);\n    }\n  }" (if "if") (parenthesized_expression "(acStack_38[0] != '\0')" (( "(") (binary_expression "acStack_38[0] != '\0'" (subscript_expression "acStack_38[0]" (identifier "acStack_38") ([ "[") (number_literal "0") (] "]")) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    lVar5 = *(long *)(*param_1 + -0x18) + (long)param_1;\n    plVar1 = *(long **)(lVar5 + 0xf8);\n    if (plVar1 == (long *)0x0) {\n                    \n      FUN_00319460();\n    }\n    if (*(char *)(lVar5 + 0xe4) == '\0') {\n      plVar2 = *(long **)(lVar5 + 0xf0);\n      if (plVar2 == (long *)0x0) {\n                    \n        FUN_00319460();\n      }\n      uVar4 = (**(code **)(*plVar2 + 0x50))(plVar2,0x20);\n      *(undefined4 *)(lVar5 + 0xe0) = uVar4;\n      lVar3 = *param_1;\n      *(undefined1 *)(lVar5 + 0xe4) = 1;\n      lVar5 = *(long *)(lVar3 + -0x18) + (long)param_1;\n    }\n    else {\n      uVar4 = *(undefined4 *)(lVar5 + 0xe0);\n    }\n    (**(code **)(*plVar1 + 0x18))\n              (plVar1,*(long *)(lVar5 + 0xe8),*(long *)(lVar5 + 0xe8) == 0,lVar5,uVar4,param_2);\n    if (extraout_DL != '\0') {\n      lVar5 = *(long *)(*param_1 + -0x18) + (long)param_1;\n      FUN_00301270(lVar5,*(uint *)(lVar5 + 0x20) | 1);\n    }\n  }" ({ "{") (expression_statement "lVar5 = *(long *)(*param_1 + -0x18) + (long)param_1;" (assignment_expression "lVar5 = *(long *)(*param_1 + -0x18) + (long)param_1" (identifier "lVar5") (= "=") (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 "plVar1 = *(long **)(lVar5 + 0xf8);" (assignment_expression "plVar1 = *(long **)(lVar5 + 0xf8)" (identifier "plVar1") (= "=") (pointer_expression "*(long **)(lVar5 + 0xf8)" (* "*") (cast_expression "(long **)(lVar5 + 0xf8)" (( "(") (type_descriptor "long **" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(lVar5 + 0xf8)" (( "(") (binary_expression "lVar5 + 0xf8" (identifier "lVar5") (+ "+") (number_literal "0xf8")) () ")"))))) (; ";")) (if_statement "if (plVar1 == (long *)0x0) {\n                    \n      FUN_00319460();\n    }" (if "if") (parenthesized_expression "(plVar1 == (long *)0x0)" (( "(") (binary_expression "plVar1 == (long *)0x0" (identifier "plVar1") (== "==") (cast_expression "(long *)0x0" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n                    \n      FUN_00319460();\n    }" ({ "{") (expression_statement "FUN_00319460();" (call_expression "FUN_00319460()" (identifier "FUN_00319460") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (if_statement "if (*(char *)(lVar5 + 0xe4) == '\0') {\n      plVar2 = *(long **)(lVar5 + 0xf0);\n      if (plVar2 == (long *)0x0) {\n                    \n        FUN_00319460();\n      }\n      uVar4 = (**(code **)(*plVar2 + 0x50))(plVar2,0x20);\n      *(undefined4 *)(lVar5 + 0xe0) = uVar4;\n      lVar3 = *param_1;\n      *(undefined1 *)(lVar5 + 0xe4) = 1;\n      lVar5 = *(long *)(lVar3 + -0x18) + (long)param_1;\n    }\n    else {\n      uVar4 = *(undefined4 *)(lVar5 + 0xe0);\n    }" (if "if") (parenthesized_expression "(*(char *)(lVar5 + 0xe4) == '\0')" (( "(") (binary_expression "*(char *)(lVar5 + 0xe4) == '\0'" (pointer_expression "*(char *)(lVar5 + 0xe4)" (* "*") (cast_expression "(char *)(lVar5 + 0xe4)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar5 + 0xe4)" (( "(") (binary_expression "lVar5 + 0xe4" (identifier "lVar5") (+ "+") (number_literal "0xe4")) () ")")))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n      plVar2 = *(long **)(lVar5 + 0xf0);\n      if (plVar2 == (long *)0x0) {\n                    \n        FUN_00319460();\n      }\n      uVar4 = (**(code **)(*plVar2 + 0x50))(plVar2,0x20);\n      *(undefined4 *)(lVar5 + 0xe0) = uVar4;\n      lVar3 = *param_1;\n      *(undefined1 *)(lVar5 + 0xe4) = 1;\n      lVar5 = *(long *)(lVar3 + -0x18) + (long)param_1;\n    }" ({ "{") (expression_statement "plVar2 = *(long **)(lVar5 + 0xf0);" (assignment_expression "plVar2 = *(long **)(lVar5 + 0xf0)" (identifier "plVar2") (= "=") (pointer_expression "*(long **)(lVar5 + 0xf0)" (* "*") (cast_expression "(long **)(lVar5 + 0xf0)" (( "(") (type_descriptor "long **" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(lVar5 + 0xf0)" (( "(") (binary_expression "lVar5 + 0xf0" (identifier "lVar5") (+ "+") (number_literal "0xf0")) () ")"))))) (; ";")) (if_statement "if (plVar2 == (long *)0x0) {\n                    \n        FUN_00319460();\n      }" (if "if") (parenthesized_expression "(plVar2 == (long *)0x0)" (( "(") (binary_expression "plVar2 == (long *)0x0" (identifier "plVar2") (== "==") (cast_expression "(long *)0x0" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n                    \n        FUN_00319460();\n      }" ({ "{") (expression_statement "FUN_00319460();" (call_expression "FUN_00319460()" (identifier "FUN_00319460") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "uVar4 = (**(code **)(*plVar2 + 0x50))(plVar2,0x20);" (assignment_expression "uVar4 = (**(code **)(*plVar2 + 0x50))(plVar2,0x20)" (identifier "uVar4") (= "=") (call_expression "(**(code **)(*plVar2 + 0x50))(plVar2,0x20)" (parenthesized_expression "(**(code **)(*plVar2 + 0x50))" (( "(") (pointer_expression "**(code **)(*plVar2 + 0x50)" (* "*") (pointer_expression "*(code **)(*plVar2 + 0x50)" (* "*") (cast_expression "(code **)(*plVar2 + 0x50)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*plVar2 + 0x50)" (( "(") (binary_expression "*plVar2 + 0x50" (pointer_expression "*plVar2" (* "*") (identifier "plVar2")) (+ "+") (number_literal "0x50")) () ")"))))) () ")")) (argument_list "(plVar2,0x20)" (( "(") (identifier "plVar2") (, ",") (number_literal "0x20") () ")")))) (; ";")) (expression_statement "*(undefined4 *)(lVar5 + 0xe0) = uVar4;" (assignment_expression "*(undefined4 *)(lVar5 + 0xe0) = uVar4" (pointer_expression "*(undefined4 *)(lVar5 + 0xe0)" (* "*") (cast_expression "(undefined4 *)(lVar5 + 0xe0)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar5 + 0xe0)" (( "(") (binary_expression "lVar5 + 0xe0" (identifier "lVar5") (+ "+") (number_literal "0xe0")) () ")")))) (= "=") (identifier "uVar4")) (; ";")) (expression_statement "lVar3 = *param_1;" (assignment_expression "lVar3 = *param_1" (identifier "lVar3") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "*(undefined1 *)(lVar5 + 0xe4) = 1;" (assignment_expression "*(undefined1 *)(lVar5 + 0xe4) = 1" (pointer_expression "*(undefined1 *)(lVar5 + 0xe4)" (* "*") (cast_expression "(undefined1 *)(lVar5 + 0xe4)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar5 + 0xe4)" (( "(") (binary_expression "lVar5 + 0xe4" (identifier "lVar5") (+ "+") (number_literal "0xe4")) () ")")))) (= "=") (number_literal "1")) (; ";")) (expression_statement "lVar5 = *(long *)(lVar3 + -0x18) + (long)param_1;" (assignment_expression "lVar5 = *(long *)(lVar3 + -0x18) + (long)param_1" (identifier "lVar5") (= "=") (binary_expression "*(long *)(lVar3 + -0x18) + (long)param_1" (pointer_expression "*(long *)(lVar3 + -0x18)" (* "*") (cast_expression "(long *)(lVar3 + -0x18)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar3 + -0x18)" (( "(") (binary_expression "lVar3 + -0x18" (identifier "lVar3") (+ "+") (number_literal "-0x18")) () ")")))) (+ "+") (cast_expression "(long)param_1" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_1")))) (; ";")) (} "}")) (else_clause "else {\n      uVar4 = *(undefined4 *)(lVar5 + 0xe0);\n    }" (else "else") (compound_statement "{\n      uVar4 = *(undefined4 *)(lVar5 + 0xe0);\n    }" ({ "{") (expression_statement "uVar4 = *(undefined4 *)(lVar5 + 0xe0);" (assignment_expression "uVar4 = *(undefined4 *)(lVar5 + 0xe0)" (identifier "uVar4") (= "=") (pointer_expression "*(undefined4 *)(lVar5 + 0xe0)" (* "*") (cast_expression "(undefined4 *)(lVar5 + 0xe0)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar5 + 0xe0)" (( "(") (binary_expression "lVar5 + 0xe0" (identifier "lVar5") (+ "+") (number_literal "0xe0")) () ")"))))) (; ";")) (} "}")))) (expression_statement "(**(code **)(*plVar1 + 0x18))\n              (plVar1,*(long *)(lVar5 + 0xe8),*(long *)(lVar5 + 0xe8) == 0,lVar5,uVar4,param_2);" (call_expression "(**(code **)(*plVar1 + 0x18))\n              (plVar1,*(long *)(lVar5 + 0xe8),*(long *)(lVar5 + 0xe8) == 0,lVar5,uVar4,param_2)" (parenthesized_expression "(**(code **)(*plVar1 + 0x18))" (( "(") (pointer_expression "**(code **)(*plVar1 + 0x18)" (* "*") (pointer_expression "*(code **)(*plVar1 + 0x18)" (* "*") (cast_expression "(code **)(*plVar1 + 0x18)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*plVar1 + 0x18)" (( "(") (binary_expression "*plVar1 + 0x18" (pointer_expression "*plVar1" (* "*") (identifier "plVar1")) (+ "+") (number_literal "0x18")) () ")"))))) () ")")) (argument_list "(plVar1,*(long *)(lVar5 + 0xe8),*(long *)(lVar5 + 0xe8) == 0,lVar5,uVar4,param_2)" (( "(") (identifier "plVar1") (, ",") (pointer_expression "*(long *)(lVar5 + 0xe8)" (* "*") (cast_expression "(long *)(lVar5 + 0xe8)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar5 + 0xe8)" (( "(") (binary_expression "lVar5 + 0xe8" (identifier "lVar5") (+ "+") (number_literal "0xe8")) () ")")))) (, ",") (binary_expression "*(long *)(lVar5 + 0xe8) == 0" (pointer_expression "*(long *)(lVar5 + 0xe8)" (* "*") (cast_expression "(long *)(lVar5 + 0xe8)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar5 + 0xe8)" (( "(") (binary_expression "lVar5 + 0xe8" (identifier "lVar5") (+ "+") (number_literal "0xe8")) () ")")))) (== "==") (number_literal "0")) (, ",") (identifier "lVar5") (, ",") (identifier "uVar4") (, ",") (identifier "param_2") () ")"))) (; ";")) (if_statement "if (extraout_DL != '\0') {\n      lVar5 = *(long *)(*param_1 + -0x18) + (long)param_1;\n      FUN_00301270(lVar5,*(uint *)(lVar5 + 0x20) | 1);\n    }" (if "if") (parenthesized_expression "(extraout_DL != '\0')" (( "(") (binary_expression "extraout_DL != '\0'" (identifier "extraout_DL") (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n      lVar5 = *(long *)(*param_1 + -0x18) + (long)param_1;\n      FUN_00301270(lVar5,*(uint *)(lVar5 + 0x20) | 1);\n    }" ({ "{") (expression_statement "lVar5 = *(long *)(*param_1 + -0x18) + (long)param_1;" (assignment_expression "lVar5 = *(long *)(*param_1 + -0x18) + (long)param_1" (identifier "lVar5") (= "=") (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(lVar5,*(uint *)(lVar5 + 0x20) | 1);" (call_expression "FUN_00301270(lVar5,*(uint *)(lVar5 + 0x20) | 1)" (identifier "FUN_00301270") (argument_list "(lVar5,*(uint *)(lVar5 + 0x20) | 1)" (( "(") (identifier "lVar5") (, ",") (binary_expression "*(uint *)(lVar5 + 0x20) | 1" (pointer_expression "*(uint *)(lVar5 + 0x20)" (* "*") (cast_expression "(uint *)(lVar5 + 0x20)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar5 + 0x20)" (( "(") (binary_expression "lVar5 + 0x20" (identifier "lVar5") (+ "+") (number_literal "0x20")) () ")")))) (| "|") (number_literal "1")) () ")"))) (; ";")) (} "}"))) (} "}"))) (expression_statement "FUN_002e80e0(acStack_38);" (call_expression "FUN_002e80e0(acStack_38)" (identifier "FUN_002e80e0") (argument_list "(acStack_38)" (( "(") (identifier "acStack_38") () ")"))) (; ";")) (return_statement "return param_1;" (return "return") (identifier "param_1") (; ";")) (} "}")))

/* std::wostream::TEMPNAMEPLACEHOLDERVALUE(long) */

type_2 * __thiscall std::type_2::operator<<(type_2 *var_1,long param_1)

{
  long *var_3;
  long *var_5;
  long var_6;
  type_1 uVar4;
  char var_7;
  type_2 *var_2;
  type_3 asStack_38 [16];
  
  sentry::type_3(asStack_38,var_1);
  if (asStack_38[0] != (type_3)0x0) {
    var_2 = var_1 + *(long *)(*(long *)var_1 + -0x18);
    var_3 = *(long **)(var_2 + 0xf8);
    if (var_3 == (long *)0x0) {
                    /* WARNING: Subroutine does not return */
      var_4();
    }
    if (var_2[0xe4] == (type_2)0x0) {
      var_5 = *(long **)(var_2 + 0xf0);
      if (var_5 == (long *)0x0) {
                    /* WARNING: Subroutine does not return */
        var_4();
      }
      uVar4 = (**(type_4 **)(*var_5 + 0x50))(var_5,0x20);
      *(type_1 *)(var_2 + 0xe0) = uVar4;
      var_6 = *(long *)var_1;
      var_2[0xe4] = (type_2)0x1;
      var_2 = var_1 + *(long *)(var_6 + -0x18);
    }
    else {
      uVar4 = *(type_1 *)(var_2 + 0xe0);
    }
    (**(type_4 **)(*var_3 + 0x18))
              (var_3,*(long *)(var_2 + 0xe8),*(long *)(var_2 + 0xe8) == 0,var_2,uVar4,param_1);
    if (var_7 != '\0') {
      wios::var_8((type_5 *)(var_1 + *(long *)(*(long *)var_1 + -0x18)),
                  *(type_6 *)((type_5 *)(var_1 + *(long *)(*(long *)var_1 + -0x18)) + 0x20) |
                  var_9);
    }
  }
  sentry::~type_3(asStack_38);
  return var_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))) (parameter_declaration type: (type_identifier) declarator: (identifier))))) body: (compound_statement (declaration type: (sized_type_specifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (sized_type_specifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (sized_type_specifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (sized_type_specifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (char_literal (escape_sequence)))) 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 (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: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list))))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (char_literal (escape_sequence)))) consequence: (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: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list))))) (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))))) (expression_statement (assignment_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: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_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))) (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: (identifier) right: (number_literal))))) right: (cast_expression type: (type_descriptor type: (sized_type_specifier)) value: (identifier)))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (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)))))))))) (expression_statement (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) (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) (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: (identifier) right: (number_literal))))) right: (number_literal)) (identifier) (identifier) (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (escape_sequence)))) 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))))))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (return_statement (identifier)))))

long * MASKED(long *param_1,undefined8 param_2)

{
  long *plVar1;
  long *plVar2;
  long lVar3;
  undefined4 uVar4;
  char extraout_DL;
  long lVar5;
  char acStack_38 [16];
  
  FUN_002e8070(acStack_38,param_1);
  if (acStack_38[0] != '\0') {
    lVar5 = *(long *)(*param_1 + -0x18) + (long)param_1;
    plVar1 = *(long **)(lVar5 + 0xf8);
    if (plVar1 == (long *)0x0) {
                    /* WARNING: Subroutine does not return */
      FUN_00319460();
    }
    if (*(char *)(lVar5 + 0xe4) == '\0') {
      plVar2 = *(long **)(lVar5 + 0xf0);
      if (plVar2 == (long *)0x0) {
                    /* WARNING: Subroutine does not return */
        FUN_00319460();
      }
      uVar4 = (**(code **)(*plVar2 + 0x50))(plVar2,0x20);
      *(undefined4 *)(lVar5 + 0xe0) = uVar4;
      lVar3 = *param_1;
      *(undefined1 *)(lVar5 + 0xe4) = 1;
      lVar5 = *(long *)(lVar3 + -0x18) + (long)param_1;
    }
    else {
      uVar4 = *(undefined4 *)(lVar5 + 0xe0);
    }
    (**(code **)(*plVar1 + 0x18))
              (plVar1,*(long *)(lVar5 + 0xe8),*(long *)(lVar5 + 0xe8) == 0,lVar5,uVar4,param_2);
    if (extraout_DL != '\0') {
      lVar5 = *(long *)(*param_1 + -0x18) + (long)param_1;
      FUN_00301270(lVar5,*(uint *)(lVar5 + 0x20) | 1);
    }
  }
  FUN_002e80e0(acStack_38);
  return param_1;
}

