
/* std::ostream::TEMPNAMEPLACEHOLDERVALUE(unsigned long) */

ostream * __thiscall std::ostream::operator<<(ostream *this,ulong param_1)

{
  long *plVar1;
  ctype<char> *this_00;
  long lVar2;
  ctype<char> cVar3;
  char extraout_DL;
  ostream *poVar4;
  int iVar5;
  sentry asStack_48 [24];
  
  sentry::sentry(asStack_48,this);
  if (asStack_48[0] != (sentry)0x0) {
    poVar4 = this + *(long *)(*(long *)this + -0x18);
    plVar1 = *(long **)(poVar4 + 0xf8);
    if (plVar1 == (long *)0x0) {
                    /* WARNING: Subroutine does not return */
      __throw_bad_cast();
    }
    if (poVar4[0xe1] == (ostream)0x0) {
      this_00 = *(ctype<char> **)(poVar4 + 0xf0);
      if (this_00 == (ctype<char> *)0x0) {
                    /* WARNING: Subroutine does not return */
        __throw_bad_cast();
      }
      if (this_00[0x38] == (ctype<char>)0x0) {
        ctype<char>::_M_widen_init(this_00);
        iVar5 = 0x20;
        cVar3 = (ctype<char>)0x20;
        if (*(code **)(*(long *)this_00 + 0x30) != (code *)PTR_do_widen_0043dfd8) {
          cVar3 = (ctype<char>)(**(code **)(*(long *)this_00 + 0x30))(this_00,0x20);
          iVar5 = (int)(char)cVar3;
        }
      }
      else {
        cVar3 = this_00[0x59];
        iVar5 = (int)(char)cVar3;
      }
      *(ctype<char> *)(poVar4 + 0xe0) = cVar3;
      lVar2 = *(long *)this;
      poVar4[0xe1] = (ostream)0x1;
      poVar4 = this + *(long *)(lVar2 + -0x18);
    }
    else {
      iVar5 = (int)(char)poVar4[0xe0];
    }
    (**(code **)(*plVar1 + 0x20))
              (plVar1,*(long *)(poVar4 + 0xe8),*(long *)(poVar4 + 0xe8) == 0,poVar4,iVar5,param_1);
    if (extraout_DL != '\0') {
      ios::clear((ios *)(this + *(long *)(*(long *)this + -0x18)),
                 *(_Ios_Iostate *)((ios *)(this + *(long *)(*(long *)this + -0x18)) + 0x20) |
                 _S_badbit);
    }
  }
  sentry::~sentry(asStack_48);
  return this;
}



long * thunk_FUN_002e6af0(long *param_1,undefined8 param_2)

{
  long *plVar1;
  long *plVar2;
  long lVar3;
  char cVar4;
  char extraout_DL;
  long lVar5;
  int iVar6;
  char acStack_48 [24];
  
  FUN_002e5da0(acStack_48,param_1);
  if (acStack_48[0] != '\0') {
    lVar5 = *(long *)(*param_1 + -0x18) + (long)param_1;
    plVar1 = *(long **)(lVar5 + 0xf8);
    if (plVar1 == (long *)0x0) {
                    /* WARNING: Subroutine does not return */
      FUN_00319450();
    }
    if (*(char *)(lVar5 + 0xe1) == '\0') {
      plVar2 = *(long **)(lVar5 + 0xf0);
      if (plVar2 == (long *)0x0) {
                    /* WARNING: Subroutine does not return */
        FUN_00319450();
      }
      if ((char)plVar2[7] == '\0') {
        FUN_00319ac0(plVar2);
        iVar6 = 0x20;
        cVar4 = ' ';
        if (*(code **)(*plVar2 + 0x30) != (code *)PTR_FUN_0043dfd8) {
          cVar4 = (**(code **)(*plVar2 + 0x30))(plVar2,0x20);
          iVar6 = (int)cVar4;
        }
      }
      else {
        cVar4 = *(char *)((long)plVar2 + 0x59);
        iVar6 = (int)cVar4;
      }
      *(char *)(lVar5 + 0xe0) = cVar4;
      lVar3 = *param_1;
      *(undefined1 *)(lVar5 + 0xe1) = 1;
      lVar5 = *(long *)(lVar3 + -0x18) + (long)param_1;
    }
    else {
      iVar6 = (int)*(char *)(lVar5 + 0xe0);
    }
    (**(code **)(*plVar1 + 0x20))
              (plVar1,*(long *)(lVar5 + 0xe8),*(long *)(lVar5 + 0xe8) == 0,lVar5,iVar6,param_2);
    if (extraout_DL != '\0') {
      lVar5 = *(long *)(*param_1 + -0x18) + (long)param_1;
      FUN_00300860(lVar5,*(uint *)(lVar5 + 0x20) | 1);
    }
  }
  FUN_002e5e10(acStack_48);
  return param_1;
}


JMP 0x002e6af0
(translation_unit "long * thunk_FUN_002e6af0(long *param_1,undefined8 param_2)\n\n{\n  long *plVar1;\n  long *plVar2;\n  long lVar3;\n  char cVar4;\n  char extraout_DL;\n  long lVar5;\n  int iVar6;\n  char acStack_48 [24];\n  \n  FUN_002e5da0(acStack_48,param_1);\n  if (acStack_48[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_00319450();\n    }\n    if (*(char *)(lVar5 + 0xe1) == '\0') {\n      plVar2 = *(long **)(lVar5 + 0xf0);\n      if (plVar2 == (long *)0x0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_00319450();\n      }\n      if ((char)plVar2[7] == '\0') {\n        FUN_00319ac0(plVar2);\n        iVar6 = 0x20;\n        cVar4 = ' ';\n        if (*(code **)(*plVar2 + 0x30) != (code *)PTR_FUN_0043dfd8) {\n          cVar4 = (**(code **)(*plVar2 + 0x30))(plVar2,0x20);\n          iVar6 = (int)cVar4;\n        }\n      }\n      else {\n        cVar4 = *(char *)((long)plVar2 + 0x59);\n        iVar6 = (int)cVar4;\n      }\n      *(char *)(lVar5 + 0xe0) = cVar4;\n      lVar3 = *param_1;\n      *(undefined1 *)(lVar5 + 0xe1) = 1;\n      lVar5 = *(long *)(lVar3 + -0x18) + (long)param_1;\n    }\n    else {\n      iVar6 = (int)*(char *)(lVar5 + 0xe0);\n    }\n    (**(code **)(*plVar1 + 0x20))\n              (plVar1,*(long *)(lVar5 + 0xe8),*(long *)(lVar5 + 0xe8) == 0,lVar5,iVar6,param_2);\n    if (extraout_DL != '\0') {\n      lVar5 = *(long *)(*param_1 + -0x18) + (long)param_1;\n      FUN_00300860(lVar5,*(uint *)(lVar5 + 0x20) | 1);\n    }\n  }\n  FUN_002e5e10(acStack_48);\n  return param_1;\n}\n\n" (function_definition "long * thunk_FUN_002e6af0(long *param_1,undefined8 param_2)\n\n{\n  long *plVar1;\n  long *plVar2;\n  long lVar3;\n  char cVar4;\n  char extraout_DL;\n  long lVar5;\n  int iVar6;\n  char acStack_48 [24];\n  \n  FUN_002e5da0(acStack_48,param_1);\n  if (acStack_48[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_00319450();\n    }\n    if (*(char *)(lVar5 + 0xe1) == '\0') {\n      plVar2 = *(long **)(lVar5 + 0xf0);\n      if (plVar2 == (long *)0x0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_00319450();\n      }\n      if ((char)plVar2[7] == '\0') {\n        FUN_00319ac0(plVar2);\n        iVar6 = 0x20;\n        cVar4 = ' ';\n        if (*(code **)(*plVar2 + 0x30) != (code *)PTR_FUN_0043dfd8) {\n          cVar4 = (**(code **)(*plVar2 + 0x30))(plVar2,0x20);\n          iVar6 = (int)cVar4;\n        }\n      }\n      else {\n        cVar4 = *(char *)((long)plVar2 + 0x59);\n        iVar6 = (int)cVar4;\n      }\n      *(char *)(lVar5 + 0xe0) = cVar4;\n      lVar3 = *param_1;\n      *(undefined1 *)(lVar5 + 0xe1) = 1;\n      lVar5 = *(long *)(lVar3 + -0x18) + (long)param_1;\n    }\n    else {\n      iVar6 = (int)*(char *)(lVar5 + 0xe0);\n    }\n    (**(code **)(*plVar1 + 0x20))\n              (plVar1,*(long *)(lVar5 + 0xe8),*(long *)(lVar5 + 0xe8) == 0,lVar5,iVar6,param_2);\n    if (extraout_DL != '\0') {\n      lVar5 = *(long *)(*param_1 + -0x18) + (long)param_1;\n      FUN_00300860(lVar5,*(uint *)(lVar5 + 0x20) | 1);\n    }\n  }\n  FUN_002e5e10(acStack_48);\n  return param_1;\n}" (sized_type_specifier "long" long) (pointer_declarator "* thunk_FUN_002e6af0(long *param_1,undefined8 param_2)" * (function_declarator "thunk_FUN_002e6af0(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  char cVar4;\n  char extraout_DL;\n  long lVar5;\n  int iVar6;\n  char acStack_48 [24];\n  \n  FUN_002e5da0(acStack_48,param_1);\n  if (acStack_48[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_00319450();\n    }\n    if (*(char *)(lVar5 + 0xe1) == '\0') {\n      plVar2 = *(long **)(lVar5 + 0xf0);\n      if (plVar2 == (long *)0x0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_00319450();\n      }\n      if ((char)plVar2[7] == '\0') {\n        FUN_00319ac0(plVar2);\n        iVar6 = 0x20;\n        cVar4 = ' ';\n        if (*(code **)(*plVar2 + 0x30) != (code *)PTR_FUN_0043dfd8) {\n          cVar4 = (**(code **)(*plVar2 + 0x30))(plVar2,0x20);\n          iVar6 = (int)cVar4;\n        }\n      }\n      else {\n        cVar4 = *(char *)((long)plVar2 + 0x59);\n        iVar6 = (int)cVar4;\n      }\n      *(char *)(lVar5 + 0xe0) = cVar4;\n      lVar3 = *param_1;\n      *(undefined1 *)(lVar5 + 0xe1) = 1;\n      lVar5 = *(long *)(lVar3 + -0x18) + (long)param_1;\n    }\n    else {\n      iVar6 = (int)*(char *)(lVar5 + 0xe0);\n    }\n    (**(code **)(*plVar1 + 0x20))\n              (plVar1,*(long *)(lVar5 + 0xe8),*(long *)(lVar5 + 0xe8) == 0,lVar5,iVar6,param_2);\n    if (extraout_DL != '\0') {\n      lVar5 = *(long *)(*param_1 + -0x18) + (long)param_1;\n      FUN_00300860(lVar5,*(uint *)(lVar5 + 0x20) | 1);\n    }\n  }\n  FUN_002e5e10(acStack_48);\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 "char cVar4;" primitive_type identifier ;) (declaration "char extraout_DL;" primitive_type identifier ;) (declaration "long lVar5;" (sized_type_specifier "long" long) identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "char acStack_48 [24];" primitive_type (array_declarator "acStack_48 [24]" identifier [ number_literal ]) ;) (expression_statement "FUN_002e5da0(acStack_48,param_1);" (call_expression "FUN_002e5da0(acStack_48,param_1)" identifier (argument_list "(acStack_48,param_1)" ( identifier , identifier ))) ;) (if_statement "if (acStack_48[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_00319450();\n    }\n    if (*(char *)(lVar5 + 0xe1) == '\0') {\n      plVar2 = *(long **)(lVar5 + 0xf0);\n      if (plVar2 == (long *)0x0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_00319450();\n      }\n      if ((char)plVar2[7] == '\0') {\n        FUN_00319ac0(plVar2);\n        iVar6 = 0x20;\n        cVar4 = ' ';\n        if (*(code **)(*plVar2 + 0x30) != (code *)PTR_FUN_0043dfd8) {\n          cVar4 = (**(code **)(*plVar2 + 0x30))(plVar2,0x20);\n          iVar6 = (int)cVar4;\n        }\n      }\n      else {\n        cVar4 = *(char *)((long)plVar2 + 0x59);\n        iVar6 = (int)cVar4;\n      }\n      *(char *)(lVar5 + 0xe0) = cVar4;\n      lVar3 = *param_1;\n      *(undefined1 *)(lVar5 + 0xe1) = 1;\n      lVar5 = *(long *)(lVar3 + -0x18) + (long)param_1;\n    }\n    else {\n      iVar6 = (int)*(char *)(lVar5 + 0xe0);\n    }\n    (**(code **)(*plVar1 + 0x20))\n              (plVar1,*(long *)(lVar5 + 0xe8),*(long *)(lVar5 + 0xe8) == 0,lVar5,iVar6,param_2);\n    if (extraout_DL != '\0') {\n      lVar5 = *(long *)(*param_1 + -0x18) + (long)param_1;\n      FUN_00300860(lVar5,*(uint *)(lVar5 + 0x20) | 1);\n    }\n  }" if (parenthesized_expression "(acStack_48[0] != '\0')" ( (binary_expression "acStack_48[0] != '\0'" (subscript_expression "acStack_48[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_00319450();\n    }\n    if (*(char *)(lVar5 + 0xe1) == '\0') {\n      plVar2 = *(long **)(lVar5 + 0xf0);\n      if (plVar2 == (long *)0x0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_00319450();\n      }\n      if ((char)plVar2[7] == '\0') {\n        FUN_00319ac0(plVar2);\n        iVar6 = 0x20;\n        cVar4 = ' ';\n        if (*(code **)(*plVar2 + 0x30) != (code *)PTR_FUN_0043dfd8) {\n          cVar4 = (**(code **)(*plVar2 + 0x30))(plVar2,0x20);\n          iVar6 = (int)cVar4;\n        }\n      }\n      else {\n        cVar4 = *(char *)((long)plVar2 + 0x59);\n        iVar6 = (int)cVar4;\n      }\n      *(char *)(lVar5 + 0xe0) = cVar4;\n      lVar3 = *param_1;\n      *(undefined1 *)(lVar5 + 0xe1) = 1;\n      lVar5 = *(long *)(lVar3 + -0x18) + (long)param_1;\n    }\n    else {\n      iVar6 = (int)*(char *)(lVar5 + 0xe0);\n    }\n    (**(code **)(*plVar1 + 0x20))\n              (plVar1,*(long *)(lVar5 + 0xe8),*(long *)(lVar5 + 0xe8) == 0,lVar5,iVar6,param_2);\n    if (extraout_DL != '\0') {\n      lVar5 = *(long *)(*param_1 + -0x18) + (long)param_1;\n      FUN_00300860(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_00319450();\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_00319450();\n    }" { comment (expression_statement "FUN_00319450();" (call_expression "FUN_00319450()" identifier (argument_list "()" ( ))) ;) })) (if_statement "if (*(char *)(lVar5 + 0xe1) == '\0') {\n      plVar2 = *(long **)(lVar5 + 0xf0);\n      if (plVar2 == (long *)0x0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_00319450();\n      }\n      if ((char)plVar2[7] == '\0') {\n        FUN_00319ac0(plVar2);\n        iVar6 = 0x20;\n        cVar4 = ' ';\n        if (*(code **)(*plVar2 + 0x30) != (code *)PTR_FUN_0043dfd8) {\n          cVar4 = (**(code **)(*plVar2 + 0x30))(plVar2,0x20);\n          iVar6 = (int)cVar4;\n        }\n      }\n      else {\n        cVar4 = *(char *)((long)plVar2 + 0x59);\n        iVar6 = (int)cVar4;\n      }\n      *(char *)(lVar5 + 0xe0) = cVar4;\n      lVar3 = *param_1;\n      *(undefined1 *)(lVar5 + 0xe1) = 1;\n      lVar5 = *(long *)(lVar3 + -0x18) + (long)param_1;\n    }\n    else {\n      iVar6 = (int)*(char *)(lVar5 + 0xe0);\n    }" if (parenthesized_expression "(*(char *)(lVar5 + 0xe1) == '\0')" ( (binary_expression "*(char *)(lVar5 + 0xe1) == '\0'" (pointer_expression "*(char *)(lVar5 + 0xe1)" * (cast_expression "(char *)(lVar5 + 0xe1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar5 + 0xe1)" ( (binary_expression "lVar5 + 0xe1" 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_00319450();\n      }\n      if ((char)plVar2[7] == '\0') {\n        FUN_00319ac0(plVar2);\n        iVar6 = 0x20;\n        cVar4 = ' ';\n        if (*(code **)(*plVar2 + 0x30) != (code *)PTR_FUN_0043dfd8) {\n          cVar4 = (**(code **)(*plVar2 + 0x30))(plVar2,0x20);\n          iVar6 = (int)cVar4;\n        }\n      }\n      else {\n        cVar4 = *(char *)((long)plVar2 + 0x59);\n        iVar6 = (int)cVar4;\n      }\n      *(char *)(lVar5 + 0xe0) = cVar4;\n      lVar3 = *param_1;\n      *(undefined1 *)(lVar5 + 0xe1) = 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_00319450();\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_00319450();\n      }" { comment (expression_statement "FUN_00319450();" (call_expression "FUN_00319450()" identifier (argument_list "()" ( ))) ;) })) (if_statement "if ((char)plVar2[7] == '\0') {\n        FUN_00319ac0(plVar2);\n        iVar6 = 0x20;\n        cVar4 = ' ';\n        if (*(code **)(*plVar2 + 0x30) != (code *)PTR_FUN_0043dfd8) {\n          cVar4 = (**(code **)(*plVar2 + 0x30))(plVar2,0x20);\n          iVar6 = (int)cVar4;\n        }\n      }\n      else {\n        cVar4 = *(char *)((long)plVar2 + 0x59);\n        iVar6 = (int)cVar4;\n      }" if (parenthesized_expression "((char)plVar2[7] == '\0')" ( (binary_expression "(char)plVar2[7] == '\0'" (cast_expression "(char)plVar2[7]" ( (type_descriptor "char" primitive_type) ) (subscript_expression "plVar2[7]" identifier [ number_literal ])) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        FUN_00319ac0(plVar2);\n        iVar6 = 0x20;\n        cVar4 = ' ';\n        if (*(code **)(*plVar2 + 0x30) != (code *)PTR_FUN_0043dfd8) {\n          cVar4 = (**(code **)(*plVar2 + 0x30))(plVar2,0x20);\n          iVar6 = (int)cVar4;\n        }\n      }" { (expression_statement "FUN_00319ac0(plVar2);" (call_expression "FUN_00319ac0(plVar2)" identifier (argument_list "(plVar2)" ( identifier ))) ;) (expression_statement "iVar6 = 0x20;" (assignment_expression "iVar6 = 0x20" identifier = number_literal) ;) (expression_statement "cVar4 = ' ';" (assignment_expression "cVar4 = ' '" identifier = (char_literal "' '" ' character ')) ;) (if_statement "if (*(code **)(*plVar2 + 0x30) != (code *)PTR_FUN_0043dfd8) {\n          cVar4 = (**(code **)(*plVar2 + 0x30))(plVar2,0x20);\n          iVar6 = (int)cVar4;\n        }" if (parenthesized_expression "(*(code **)(*plVar2 + 0x30) != (code *)PTR_FUN_0043dfd8)" ( (binary_expression "*(code **)(*plVar2 + 0x30) != (code *)PTR_FUN_0043dfd8" (pointer_expression "*(code **)(*plVar2 + 0x30)" * (cast_expression "(code **)(*plVar2 + 0x30)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*plVar2 + 0x30)" ( (binary_expression "*plVar2 + 0x30" (pointer_expression "*plVar2" * identifier) + number_literal) )))) != (cast_expression "(code *)PTR_FUN_0043dfd8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (compound_statement "{\n          cVar4 = (**(code **)(*plVar2 + 0x30))(plVar2,0x20);\n          iVar6 = (int)cVar4;\n        }" { (expression_statement "cVar4 = (**(code **)(*plVar2 + 0x30))(plVar2,0x20);" (assignment_expression "cVar4 = (**(code **)(*plVar2 + 0x30))(plVar2,0x20)" identifier = (call_expression "(**(code **)(*plVar2 + 0x30))(plVar2,0x20)" (parenthesized_expression "(**(code **)(*plVar2 + 0x30))" ( (pointer_expression "**(code **)(*plVar2 + 0x30)" * (pointer_expression "*(code **)(*plVar2 + 0x30)" * (cast_expression "(code **)(*plVar2 + 0x30)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*plVar2 + 0x30)" ( (binary_expression "*plVar2 + 0x30" (pointer_expression "*plVar2" * identifier) + number_literal) ))))) )) (argument_list "(plVar2,0x20)" ( identifier , number_literal )))) ;) (expression_statement "iVar6 = (int)cVar4;" (assignment_expression "iVar6 = (int)cVar4" identifier = (cast_expression "(int)cVar4" ( (type_descriptor "int" primitive_type) ) identifier)) ;) })) }) (else_clause "else {\n        cVar4 = *(char *)((long)plVar2 + 0x59);\n        iVar6 = (int)cVar4;\n      }" else (compound_statement "{\n        cVar4 = *(char *)((long)plVar2 + 0x59);\n        iVar6 = (int)cVar4;\n      }" { (expression_statement "cVar4 = *(char *)((long)plVar2 + 0x59);" (assignment_expression "cVar4 = *(char *)((long)plVar2 + 0x59)" identifier = (pointer_expression "*(char *)((long)plVar2 + 0x59)" * (cast_expression "(char *)((long)plVar2 + 0x59)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)plVar2 + 0x59)" ( (binary_expression "(long)plVar2 + 0x59" (cast_expression "(long)plVar2" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) ))))) ;) (expression_statement "iVar6 = (int)cVar4;" (assignment_expression "iVar6 = (int)cVar4" identifier = (cast_expression "(int)cVar4" ( (type_descriptor "int" primitive_type) ) identifier)) ;) }))) (expression_statement "*(char *)(lVar5 + 0xe0) = cVar4;" (assignment_expression "*(char *)(lVar5 + 0xe0) = cVar4" (pointer_expression "*(char *)(lVar5 + 0xe0)" * (cast_expression "(char *)(lVar5 + 0xe0)" ( (type_descriptor "char *" primitive_type (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 + 0xe1) = 1;" (assignment_expression "*(undefined1 *)(lVar5 + 0xe1) = 1" (pointer_expression "*(undefined1 *)(lVar5 + 0xe1)" * (cast_expression "(undefined1 *)(lVar5 + 0xe1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar5 + 0xe1)" ( (binary_expression "lVar5 + 0xe1" 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      iVar6 = (int)*(char *)(lVar5 + 0xe0);\n    }" else (compound_statement "{\n      iVar6 = (int)*(char *)(lVar5 + 0xe0);\n    }" { (expression_statement "iVar6 = (int)*(char *)(lVar5 + 0xe0);" (assignment_expression "iVar6 = (int)*(char *)(lVar5 + 0xe0)" identifier = (cast_expression "(int)*(char *)(lVar5 + 0xe0)" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*(char *)(lVar5 + 0xe0)" * (cast_expression "(char *)(lVar5 + 0xe0)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar5 + 0xe0)" ( (binary_expression "lVar5 + 0xe0" identifier + number_literal) )))))) ;) }))) (expression_statement "(**(code **)(*plVar1 + 0x20))\n              (plVar1,*(long *)(lVar5 + 0xe8),*(long *)(lVar5 + 0xe8) == 0,lVar5,iVar6,param_2);" (call_expression "(**(code **)(*plVar1 + 0x20))\n              (plVar1,*(long *)(lVar5 + 0xe8),*(long *)(lVar5 + 0xe8) == 0,lVar5,iVar6,param_2)" (parenthesized_expression "(**(code **)(*plVar1 + 0x20))" ( (pointer_expression "**(code **)(*plVar1 + 0x20)" * (pointer_expression "*(code **)(*plVar1 + 0x20)" * (cast_expression "(code **)(*plVar1 + 0x20)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*plVar1 + 0x20)" ( (binary_expression "*plVar1 + 0x20" (pointer_expression "*plVar1" * identifier) + number_literal) ))))) )) (argument_list "(plVar1,*(long *)(lVar5 + 0xe8),*(long *)(lVar5 + 0xe8) == 0,lVar5,iVar6,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_00300860(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_00300860(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_00300860(lVar5,*(uint *)(lVar5 + 0x20) | 1);" (call_expression "FUN_00300860(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_002e5e10(acStack_48);" (call_expression "FUN_002e5e10(acStack_48)" identifier (argument_list "(acStack_48)" ( identifier ))) ;) (return_statement "return param_1;" return identifier ;) })))
(translation_unit "/* std::ostream::TEMPNAMEPLACEHOLDERVALUE(unsigned long) */\n\nostream * __thiscall std::ostream::operator<<(ostream *this,ulong param_1)\n\n{\n  long *plVar1;\n  ctype<char> *this_00;\n  long lVar2;\n  ctype<char> cVar3;\n  char extraout_DL;\n  ostream *poVar4;\n  int iVar5;\n  sentry asStack_48 [24];\n  \n  sentry::sentry(asStack_48,this);\n  if (asStack_48[0] != (sentry)0x0) {\n    poVar4 = this + *(long *)(*(long *)this + -0x18);\n    plVar1 = *(long **)(poVar4 + 0xf8);\n    if (plVar1 == (long *)0x0) {\n                    /* WARNING: Subroutine does not return */\n      __throw_bad_cast();\n    }\n    if (poVar4[0xe1] == (ostream)0x0) {\n      this_00 = *(ctype<char> **)(poVar4 + 0xf0);\n      if (this_00 == (ctype<char> *)0x0) {\n                    /* WARNING: Subroutine does not return */\n        __throw_bad_cast();\n      }\n      if (this_00[0x38] == (ctype<char>)0x0) {\n        ctype<char>::_M_widen_init(this_00);\n        iVar5 = 0x20;\n        cVar3 = (ctype<char>)0x20;\n        if (*(code **)(*(long *)this_00 + 0x30) != (code *)PTR_do_widen_0043dfd8) {\n          cVar3 = (ctype<char>)(**(code **)(*(long *)this_00 + 0x30))(this_00,0x20);\n          iVar5 = (int)(char)cVar3;\n        }\n      }\n      else {\n        cVar3 = this_00[0x59];\n        iVar5 = (int)(char)cVar3;\n      }\n      *(ctype<char> *)(poVar4 + 0xe0) = cVar3;\n      lVar2 = *(long *)this;\n      poVar4[0xe1] = (ostream)0x1;\n      poVar4 = this + *(long *)(lVar2 + -0x18);\n    }\n    else {\n      iVar5 = (int)(char)poVar4[0xe0];\n    }\n    (**(code **)(*plVar1 + 0x20))\n              (plVar1,*(long *)(poVar4 + 0xe8),*(long *)(poVar4 + 0xe8) == 0,poVar4,iVar5,param_1);\n    if (extraout_DL != '\0') {\n      ios::clear((ios *)(this + *(long *)(*(long *)this + -0x18)),\n                 *(_Ios_Iostate *)((ios *)(this + *(long *)(*(long *)this + -0x18)) + 0x20) |\n                 _S_badbit);\n    }\n  }\n  sentry::~sentry(asStack_48);\n  return this;\n}\n\n" comment (ERROR "ostream * __thiscall std::ostream::operator<<(ostream *this,ulong param_1)" (binary_expression "ostream * __thiscall std::ostream::operator<<(ostream *this,ulong param_1)" (binary_expression "ostream * __thiscall" identifier * identifier) (ERROR "std::ostream::operator" identifier : : identifier : : identifier) << (parenthesized_expression "(ostream *this,ulong param_1)" ( (comma_expression "ostream *this,ulong param_1" (binary_expression "ostream *this" identifier * identifier) , (ERROR "ulong" identifier) identifier) )))) (compound_statement "{\n  long *plVar1;\n  ctype<char> *this_00;\n  long lVar2;\n  ctype<char> cVar3;\n  char extraout_DL;\n  ostream *poVar4;\n  int iVar5;\n  sentry asStack_48 [24];\n  \n  sentry::sentry(asStack_48,this);\n  if (asStack_48[0] != (sentry)0x0) {\n    poVar4 = this + *(long *)(*(long *)this + -0x18);\n    plVar1 = *(long **)(poVar4 + 0xf8);\n    if (plVar1 == (long *)0x0) {\n                    /* WARNING: Subroutine does not return */\n      __throw_bad_cast();\n    }\n    if (poVar4[0xe1] == (ostream)0x0) {\n      this_00 = *(ctype<char> **)(poVar4 + 0xf0);\n      if (this_00 == (ctype<char> *)0x0) {\n                    /* WARNING: Subroutine does not return */\n        __throw_bad_cast();\n      }\n      if (this_00[0x38] == (ctype<char>)0x0) {\n        ctype<char>::_M_widen_init(this_00);\n        iVar5 = 0x20;\n        cVar3 = (ctype<char>)0x20;\n        if (*(code **)(*(long *)this_00 + 0x30) != (code *)PTR_do_widen_0043dfd8) {\n          cVar3 = (ctype<char>)(**(code **)(*(long *)this_00 + 0x30))(this_00,0x20);\n          iVar5 = (int)(char)cVar3;\n        }\n      }\n      else {\n        cVar3 = this_00[0x59];\n        iVar5 = (int)(char)cVar3;\n      }\n      *(ctype<char> *)(poVar4 + 0xe0) = cVar3;\n      lVar2 = *(long *)this;\n      poVar4[0xe1] = (ostream)0x1;\n      poVar4 = this + *(long *)(lVar2 + -0x18);\n    }\n    else {\n      iVar5 = (int)(char)poVar4[0xe0];\n    }\n    (**(code **)(*plVar1 + 0x20))\n              (plVar1,*(long *)(poVar4 + 0xe8),*(long *)(poVar4 + 0xe8) == 0,poVar4,iVar5,param_1);\n    if (extraout_DL != '\0') {\n      ios::clear((ios *)(this + *(long *)(*(long *)this + -0x18)),\n                 *(_Ios_Iostate *)((ios *)(this + *(long *)(*(long *)this + -0x18)) + 0x20) |\n                 _S_badbit);\n    }\n  }\n  sentry::~sentry(asStack_48);\n  return this;\n}" { (declaration "long *plVar1;" (sized_type_specifier "long" long) (pointer_declarator "*plVar1" * identifier) ;) (expression_statement "ctype<char> *this_00;" (binary_expression "ctype<char> *this_00" (binary_expression "ctype<char" identifier < identifier) > (pointer_expression "*this_00" * identifier)) ;) (declaration "long lVar2;" (sized_type_specifier "long" long) identifier ;) (expression_statement "ctype<char> cVar3;" (binary_expression "ctype<char> cVar3" (binary_expression "ctype<char" identifier < identifier) > identifier) ;) (declaration "char extraout_DL;" primitive_type identifier ;) (declaration "ostream *poVar4;" type_identifier (pointer_declarator "*poVar4" * identifier) ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "sentry asStack_48 [24];" type_identifier (array_declarator "asStack_48 [24]" identifier [ number_literal ]) ;) (labeled_statement "sentry::sentry(asStack_48,this);" statement_identifier : (ERROR ":" :) (expression_statement "sentry(asStack_48,this);" (call_expression "sentry(asStack_48,this)" identifier (argument_list "(asStack_48,this)" ( identifier , identifier ))) ;)) (if_statement "if (asStack_48[0] != (sentry)0x0) {\n    poVar4 = this + *(long *)(*(long *)this + -0x18);\n    plVar1 = *(long **)(poVar4 + 0xf8);\n    if (plVar1 == (long *)0x0) {\n                    /* WARNING: Subroutine does not return */\n      __throw_bad_cast();\n    }\n    if (poVar4[0xe1] == (ostream)0x0) {\n      this_00 = *(ctype<char> **)(poVar4 + 0xf0);\n      if (this_00 == (ctype<char> *)0x0) {\n                    /* WARNING: Subroutine does not return */\n        __throw_bad_cast();\n      }\n      if (this_00[0x38] == (ctype<char>)0x0) {\n        ctype<char>::_M_widen_init(this_00);\n        iVar5 = 0x20;\n        cVar3 = (ctype<char>)0x20;\n        if (*(code **)(*(long *)this_00 + 0x30) != (code *)PTR_do_widen_0043dfd8) {\n          cVar3 = (ctype<char>)(**(code **)(*(long *)this_00 + 0x30))(this_00,0x20);\n          iVar5 = (int)(char)cVar3;\n        }\n      }\n      else {\n        cVar3 = this_00[0x59];\n        iVar5 = (int)(char)cVar3;\n      }\n      *(ctype<char> *)(poVar4 + 0xe0) = cVar3;\n      lVar2 = *(long *)this;\n      poVar4[0xe1] = (ostream)0x1;\n      poVar4 = this + *(long *)(lVar2 + -0x18);\n    }\n    else {\n      iVar5 = (int)(char)poVar4[0xe0];\n    }\n    (**(code **)(*plVar1 + 0x20))\n              (plVar1,*(long *)(poVar4 + 0xe8),*(long *)(poVar4 + 0xe8) == 0,poVar4,iVar5,param_1);\n    if (extraout_DL != '\0') {\n      ios::clear((ios *)(this + *(long *)(*(long *)this + -0x18)),\n                 *(_Ios_Iostate *)((ios *)(this + *(long *)(*(long *)this + -0x18)) + 0x20) |\n                 _S_badbit);\n    }\n  }" if (parenthesized_expression "(asStack_48[0] != (sentry)0x0)" ( (binary_expression "asStack_48[0] != (sentry)0x0" (subscript_expression "asStack_48[0]" identifier [ number_literal ]) != (cast_expression "(sentry)0x0" ( (type_descriptor "sentry" type_identifier) ) number_literal)) )) (compound_statement "{\n    poVar4 = this + *(long *)(*(long *)this + -0x18);\n    plVar1 = *(long **)(poVar4 + 0xf8);\n    if (plVar1 == (long *)0x0) {\n                    /* WARNING: Subroutine does not return */\n      __throw_bad_cast();\n    }\n    if (poVar4[0xe1] == (ostream)0x0) {\n      this_00 = *(ctype<char> **)(poVar4 + 0xf0);\n      if (this_00 == (ctype<char> *)0x0) {\n                    /* WARNING: Subroutine does not return */\n        __throw_bad_cast();\n      }\n      if (this_00[0x38] == (ctype<char>)0x0) {\n        ctype<char>::_M_widen_init(this_00);\n        iVar5 = 0x20;\n        cVar3 = (ctype<char>)0x20;\n        if (*(code **)(*(long *)this_00 + 0x30) != (code *)PTR_do_widen_0043dfd8) {\n          cVar3 = (ctype<char>)(**(code **)(*(long *)this_00 + 0x30))(this_00,0x20);\n          iVar5 = (int)(char)cVar3;\n        }\n      }\n      else {\n        cVar3 = this_00[0x59];\n        iVar5 = (int)(char)cVar3;\n      }\n      *(ctype<char> *)(poVar4 + 0xe0) = cVar3;\n      lVar2 = *(long *)this;\n      poVar4[0xe1] = (ostream)0x1;\n      poVar4 = this + *(long *)(lVar2 + -0x18);\n    }\n    else {\n      iVar5 = (int)(char)poVar4[0xe0];\n    }\n    (**(code **)(*plVar1 + 0x20))\n              (plVar1,*(long *)(poVar4 + 0xe8),*(long *)(poVar4 + 0xe8) == 0,poVar4,iVar5,param_1);\n    if (extraout_DL != '\0') {\n      ios::clear((ios *)(this + *(long *)(*(long *)this + -0x18)),\n                 *(_Ios_Iostate *)((ios *)(this + *(long *)(*(long *)this + -0x18)) + 0x20) |\n                 _S_badbit);\n    }\n  }" { (expression_statement "poVar4 = this + *(long *)(*(long *)this + -0x18);" (assignment_expression "poVar4 = 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 **)(poVar4 + 0xf8);" (assignment_expression "plVar1 = *(long **)(poVar4 + 0xf8)" identifier = (pointer_expression "*(long **)(poVar4 + 0xf8)" * (cast_expression "(long **)(poVar4 + 0xf8)" ( (type_descriptor "long **" (sized_type_specifier "long" long) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(poVar4 + 0xf8)" ( (binary_expression "poVar4 + 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 (poVar4[0xe1] == (ostream)0x0) {\n      this_00 = *(ctype<char> **)(poVar4 + 0xf0);\n      if (this_00 == (ctype<char> *)0x0) {\n                    /* WARNING: Subroutine does not return */\n        __throw_bad_cast();\n      }\n      if (this_00[0x38] == (ctype<char>)0x0) {\n        ctype<char>::_M_widen_init(this_00);\n        iVar5 = 0x20;\n        cVar3 = (ctype<char>)0x20;\n        if (*(code **)(*(long *)this_00 + 0x30) != (code *)PTR_do_widen_0043dfd8) {\n          cVar3 = (ctype<char>)(**(code **)(*(long *)this_00 + 0x30))(this_00,0x20);\n          iVar5 = (int)(char)cVar3;\n        }\n      }\n      else {\n        cVar3 = this_00[0x59];\n        iVar5 = (int)(char)cVar3;\n      }\n      *(ctype<char> *)(poVar4 + 0xe0) = cVar3;\n      lVar2 = *(long *)this;\n      poVar4[0xe1] = (ostream)0x1;\n      poVar4 = this + *(long *)(lVar2 + -0x18);\n    }\n    else {\n      iVar5 = (int)(char)poVar4[0xe0];\n    }" if (parenthesized_expression "(poVar4[0xe1] == (ostream)0x0)" ( (binary_expression "poVar4[0xe1] == (ostream)0x0" (subscript_expression "poVar4[0xe1]" identifier [ number_literal ]) == (cast_expression "(ostream)0x0" ( (type_descriptor "ostream" type_identifier) ) number_literal)) )) (compound_statement "{\n      this_00 = *(ctype<char> **)(poVar4 + 0xf0);\n      if (this_00 == (ctype<char> *)0x0) {\n                    /* WARNING: Subroutine does not return */\n        __throw_bad_cast();\n      }\n      if (this_00[0x38] == (ctype<char>)0x0) {\n        ctype<char>::_M_widen_init(this_00);\n        iVar5 = 0x20;\n        cVar3 = (ctype<char>)0x20;\n        if (*(code **)(*(long *)this_00 + 0x30) != (code *)PTR_do_widen_0043dfd8) {\n          cVar3 = (ctype<char>)(**(code **)(*(long *)this_00 + 0x30))(this_00,0x20);\n          iVar5 = (int)(char)cVar3;\n        }\n      }\n      else {\n        cVar3 = this_00[0x59];\n        iVar5 = (int)(char)cVar3;\n      }\n      *(ctype<char> *)(poVar4 + 0xe0) = cVar3;\n      lVar2 = *(long *)this;\n      poVar4[0xe1] = (ostream)0x1;\n      poVar4 = this + *(long *)(lVar2 + -0x18);\n    }" { (expression_statement "this_00 = *(ctype<char> **)(poVar4 + 0xf0);" (assignment_expression "this_00 = *(ctype<char> **)(poVar4 + 0xf0)" identifier = (pointer_expression "*(ctype<char> **)(poVar4 + 0xf0)" * (call_expression "(ctype<char> **)(poVar4 + 0xf0)" (parenthesized_expression "(ctype<char> **)" ( (binary_expression "ctype<char> **" (binary_expression "ctype<char" identifier < identifier) > (pointer_expression "**" * (pointer_expression "*" * identifier))) )) (argument_list "(poVar4 + 0xf0)" ( (binary_expression "poVar4 + 0xf0" identifier + number_literal) ))))) ;) (if_statement "if (this_00 == (ctype<char> *)0x0) {\n                    /* WARNING: Subroutine does not return */\n        __throw_bad_cast();\n      }" if (parenthesized_expression "(this_00 == (ctype<char> *)0x0)" ( (binary_expression "this_00 == (ctype<char> *)0x0)" identifier == (parenthesized_expression "(ctype<char> *)0x0)" ( (binary_expression "ctype<char> *)0x0" (binary_expression "ctype<char" identifier < identifier) > (pointer_expression "*)0x0" * (ERROR ")" )) 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 (this_00[0x38] == (ctype<char>)0x0) {\n        ctype<char>::_M_widen_init(this_00);\n        iVar5 = 0x20;\n        cVar3 = (ctype<char>)0x20;\n        if (*(code **)(*(long *)this_00 + 0x30) != (code *)PTR_do_widen_0043dfd8) {\n          cVar3 = (ctype<char>)(**(code **)(*(long *)this_00 + 0x30))(this_00,0x20);\n          iVar5 = (int)(char)cVar3;\n        }\n      }\n      else {\n        cVar3 = this_00[0x59];\n        iVar5 = (int)(char)cVar3;\n      }" if (parenthesized_expression "(this_00[0x38] == (ctype<char>)0x0)" ( (binary_expression "this_00[0x38] == (ctype<char>)0x0)" (subscript_expression "this_00[0x38]" identifier [ number_literal ]) == (parenthesized_expression "(ctype<char>)0x0)" ( (binary_expression "ctype<char>)0x0" (binary_expression "ctype<char" identifier < identifier) > (ERROR ")" )) number_literal) ))) )) (compound_statement "{\n        ctype<char>::_M_widen_init(this_00);\n        iVar5 = 0x20;\n        cVar3 = (ctype<char>)0x20;\n        if (*(code **)(*(long *)this_00 + 0x30) != (code *)PTR_do_widen_0043dfd8) {\n          cVar3 = (ctype<char>)(**(code **)(*(long *)this_00 + 0x30))(this_00,0x20);\n          iVar5 = (int)(char)cVar3;\n        }\n      }" { (expression_statement "ctype<char>::_M_widen_init(this_00);" (binary_expression "ctype<char>::_M_widen_init(this_00)" (binary_expression "ctype<char" identifier < identifier) > (ERROR "::" : :) (call_expression "_M_widen_init(this_00)" identifier (argument_list "(this_00)" ( identifier )))) ;) (expression_statement "iVar5 = 0x20;" (assignment_expression "iVar5 = 0x20" identifier = number_literal) ;) (expression_statement "cVar3 = (ctype<char>)0x20;" (assignment_expression "cVar3 = (ctype<char>)0x20" identifier = (parenthesized_expression "(ctype<char>)0x20" ( (binary_expression "ctype<char>)0x20" (binary_expression "ctype<char" identifier < identifier) > (ERROR ")" )) number_literal) ))) ;) (if_statement "if (*(code **)(*(long *)this_00 + 0x30) != (code *)PTR_do_widen_0043dfd8) {\n          cVar3 = (ctype<char>)(**(code **)(*(long *)this_00 + 0x30))(this_00,0x20);\n          iVar5 = (int)(char)cVar3;\n        }" if (parenthesized_expression "(*(code **)(*(long *)this_00 + 0x30) != (code *)PTR_do_widen_0043dfd8)" ( (binary_expression "*(code **)(*(long *)this_00 + 0x30) != (code *)PTR_do_widen_0043dfd8" (pointer_expression "*(code **)(*(long *)this_00 + 0x30)" * (cast_expression "(code **)(*(long *)this_00 + 0x30)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(long *)this_00 + 0x30)" ( (binary_expression "*(long *)this_00 + 0x30" (pointer_expression "*(long *)this_00" * (cast_expression "(long *)this_00" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) )))) != (cast_expression "(code *)PTR_do_widen_0043dfd8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (compound_statement "{\n          cVar3 = (ctype<char>)(**(code **)(*(long *)this_00 + 0x30))(this_00,0x20);\n          iVar5 = (int)(char)cVar3;\n        }" { (expression_statement "cVar3 = (ctype<char>)(**(code **)(*(long *)this_00 + 0x30))(this_00,0x20);" (assignment_expression "cVar3 = (ctype<char>)(**(code **)(*(long *)this_00 + 0x30))(this_00,0x20)" identifier = (call_expression "(ctype<char>)(**(code **)(*(long *)this_00 + 0x30))(this_00,0x20)" (call_expression "(ctype<char>)(**(code **)(*(long *)this_00 + 0x30))" (parenthesized_expression "(ctype<char>)" ( (binary_expression "ctype<char>" (binary_expression "ctype<char" identifier < identifier) > identifier) )) (argument_list "(**(code **)(*(long *)this_00 + 0x30))" ( (pointer_expression "**(code **)(*(long *)this_00 + 0x30)" * (pointer_expression "*(code **)(*(long *)this_00 + 0x30)" * (cast_expression "(code **)(*(long *)this_00 + 0x30)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(long *)this_00 + 0x30)" ( (binary_expression "*(long *)this_00 + 0x30" (pointer_expression "*(long *)this_00" * (cast_expression "(long *)this_00" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) ))))) ))) (argument_list "(this_00,0x20)" ( identifier , number_literal )))) ;) (expression_statement "iVar5 = (int)(char)cVar3;" (assignment_expression "iVar5 = (int)(char)cVar3" identifier = (cast_expression "(int)(char)cVar3" ( (type_descriptor "int" primitive_type) ) (cast_expression "(char)cVar3" ( (type_descriptor "char" primitive_type) ) identifier))) ;) })) }) (else_clause "else {\n        cVar3 = this_00[0x59];\n        iVar5 = (int)(char)cVar3;\n      }" else (compound_statement "{\n        cVar3 = this_00[0x59];\n        iVar5 = (int)(char)cVar3;\n      }" { (expression_statement "cVar3 = this_00[0x59];" (assignment_expression "cVar3 = this_00[0x59]" identifier = (subscript_expression "this_00[0x59]" identifier [ number_literal ])) ;) (expression_statement "iVar5 = (int)(char)cVar3;" (assignment_expression "iVar5 = (int)(char)cVar3" identifier = (cast_expression "(int)(char)cVar3" ( (type_descriptor "int" primitive_type) ) (cast_expression "(char)cVar3" ( (type_descriptor "char" primitive_type) ) identifier))) ;) }))) (expression_statement "*(ctype<char> *)(poVar4 + 0xe0) = cVar3;" (assignment_expression "*(ctype<char> *)(poVar4 + 0xe0) = cVar3" (pointer_expression "*(ctype<char> *)(poVar4 + 0xe0)" * (call_expression "(ctype<char> *)(poVar4 + 0xe0)" (parenthesized_expression "(ctype<char> *)" ( (binary_expression "ctype<char> *" (binary_expression "ctype<char" identifier < identifier) > (pointer_expression "*" * identifier)) )) (argument_list "(poVar4 + 0xe0)" ( (binary_expression "poVar4 + 0xe0" identifier + number_literal) )))) = identifier) ;) (expression_statement "lVar2 = *(long *)this;" (assignment_expression "lVar2 = *(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 "poVar4[0xe1] = (ostream)0x1;" (assignment_expression "poVar4[0xe1] = (ostream)0x1" (subscript_expression "poVar4[0xe1]" identifier [ number_literal ]) = (cast_expression "(ostream)0x1" ( (type_descriptor "ostream" type_identifier) ) number_literal)) ;) (expression_statement "poVar4 = this + *(long *)(lVar2 + -0x18);" (assignment_expression "poVar4 = this + *(long *)(lVar2 + -0x18)" identifier = (binary_expression "this + *(long *)(lVar2 + -0x18)" identifier + (pointer_expression "*(long *)(lVar2 + -0x18)" * (cast_expression "(long *)(lVar2 + -0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + -0x18)" ( (binary_expression "lVar2 + -0x18" identifier + number_literal) )))))) ;) }) (else_clause "else {\n      iVar5 = (int)(char)poVar4[0xe0];\n    }" else (compound_statement "{\n      iVar5 = (int)(char)poVar4[0xe0];\n    }" { (expression_statement "iVar5 = (int)(char)poVar4[0xe0];" (assignment_expression "iVar5 = (int)(char)poVar4[0xe0]" identifier = (cast_expression "(int)(char)poVar4[0xe0]" ( (type_descriptor "int" primitive_type) ) (cast_expression "(char)poVar4[0xe0]" ( (type_descriptor "char" primitive_type) ) (subscript_expression "poVar4[0xe0]" identifier [ number_literal ])))) ;) }))) (expression_statement "(**(code **)(*plVar1 + 0x20))\n              (plVar1,*(long *)(poVar4 + 0xe8),*(long *)(poVar4 + 0xe8) == 0,poVar4,iVar5,param_1);" (call_expression "(**(code **)(*plVar1 + 0x20))\n              (plVar1,*(long *)(poVar4 + 0xe8),*(long *)(poVar4 + 0xe8) == 0,poVar4,iVar5,param_1)" (parenthesized_expression "(**(code **)(*plVar1 + 0x20))" ( (pointer_expression "**(code **)(*plVar1 + 0x20)" * (pointer_expression "*(code **)(*plVar1 + 0x20)" * (cast_expression "(code **)(*plVar1 + 0x20)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*plVar1 + 0x20)" ( (binary_expression "*plVar1 + 0x20" (pointer_expression "*plVar1" * identifier) + number_literal) ))))) )) (argument_list "(plVar1,*(long *)(poVar4 + 0xe8),*(long *)(poVar4 + 0xe8) == 0,poVar4,iVar5,param_1)" ( identifier , (pointer_expression "*(long *)(poVar4 + 0xe8)" * (cast_expression "(long *)(poVar4 + 0xe8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(poVar4 + 0xe8)" ( (binary_expression "poVar4 + 0xe8" identifier + number_literal) )))) , (binary_expression "*(long *)(poVar4 + 0xe8) == 0" (pointer_expression "*(long *)(poVar4 + 0xe8)" * (cast_expression "(long *)(poVar4 + 0xe8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(poVar4 + 0xe8)" ( (binary_expression "poVar4 + 0xe8" identifier + number_literal) )))) == number_literal) , identifier , identifier , identifier ))) ;) (if_statement "if (extraout_DL != '\0') {\n      ios::clear((ios *)(this + *(long *)(*(long *)this + -0x18)),\n                 *(_Ios_Iostate *)((ios *)(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      ios::clear((ios *)(this + *(long *)(*(long *)this + -0x18)),\n                 *(_Ios_Iostate *)((ios *)(this + *(long *)(*(long *)this + -0x18)) + 0x20) |\n                 _S_badbit);\n    }" { (labeled_statement "ios::clear((ios *)(this + *(long *)(*(long *)this + -0x18)),\n                 *(_Ios_Iostate *)((ios *)(this + *(long *)(*(long *)this + -0x18)) + 0x20) |\n                 _S_badbit);" statement_identifier : (ERROR ":" :) (expression_statement "clear((ios *)(this + *(long *)(*(long *)this + -0x18)),\n                 *(_Ios_Iostate *)((ios *)(this + *(long *)(*(long *)this + -0x18)) + 0x20) |\n                 _S_badbit);" (call_expression "clear((ios *)(this + *(long *)(*(long *)this + -0x18)),\n                 *(_Ios_Iostate *)((ios *)(this + *(long *)(*(long *)this + -0x18)) + 0x20) |\n                 _S_badbit)" identifier (argument_list "((ios *)(this + *(long *)(*(long *)this + -0x18)),\n                 *(_Ios_Iostate *)((ios *)(this + *(long *)(*(long *)this + -0x18)) + 0x20) |\n                 _S_badbit)" ( (cast_expression "(ios *)(this + *(long *)(*(long *)this + -0x18))" ( (type_descriptor "ios *" 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 *)((ios *)(this + *(long *)(*(long *)this + -0x18)) + 0x20) |\n                 _S_badbit" (pointer_expression "*(_Ios_Iostate *)((ios *)(this + *(long *)(*(long *)this + -0x18)) + 0x20)" * (cast_expression "(_Ios_Iostate *)((ios *)(this + *(long *)(*(long *)this + -0x18)) + 0x20)" ( (type_descriptor "_Ios_Iostate *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((ios *)(this + *(long *)(*(long *)this + -0x18)) + 0x20)" ( (binary_expression "(ios *)(this + *(long *)(*(long *)this + -0x18)) + 0x20" (cast_expression "(ios *)(this + *(long *)(*(long *)this + -0x18))" ( (type_descriptor "ios *" 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_48);" statement_identifier : (ERROR ":" :) (expression_statement "~sentry(asStack_48);" (unary_expression "~sentry(asStack_48)" ~ (call_expression "sentry(asStack_48)" identifier (argument_list "(asStack_48)" ( identifier )))) ;)) (return_statement "return this;" return identifier ;) }))
(translation_unit "long * thunk_FUN_002e6af0(long *param_1,undefined8 param_2)\n\n{\n  long *plVar1;\n  long *plVar2;\n  long lVar3;\n  char cVar4;\n  char extraout_DL;\n  long lVar5;\n  int iVar6;\n  char acStack_48 [24];\n  \n  FUN_002e5da0(acStack_48,param_1);\n  if (acStack_48[0] != '\0') {\n    lVar5 = *(long *)(*param_1 + -0x18) + (long)param_1;\n    plVar1 = *(long **)(lVar5 + 0xf8);\n    if (plVar1 == (long *)0x0) {\n                    \n      FUN_00319450();\n    }\n    if (*(char *)(lVar5 + 0xe1) == '\0') {\n      plVar2 = *(long **)(lVar5 + 0xf0);\n      if (plVar2 == (long *)0x0) {\n                    \n        FUN_00319450();\n      }\n      if ((char)plVar2[7] == '\0') {\n        FUN_00319ac0(plVar2);\n        iVar6 = 0x20;\n        cVar4 = ' ';\n        if (*(code **)(*plVar2 + 0x30) != (code *)PTR_FUN_0043dfd8) {\n          cVar4 = (**(code **)(*plVar2 + 0x30))(plVar2,0x20);\n          iVar6 = (int)cVar4;\n        }\n      }\n      else {\n        cVar4 = *(char *)((long)plVar2 + 0x59);\n        iVar6 = (int)cVar4;\n      }\n      *(char *)(lVar5 + 0xe0) = cVar4;\n      lVar3 = *param_1;\n      *(undefined1 *)(lVar5 + 0xe1) = 1;\n      lVar5 = *(long *)(lVar3 + -0x18) + (long)param_1;\n    }\n    else {\n      iVar6 = (int)*(char *)(lVar5 + 0xe0);\n    }\n    (**(code **)(*plVar1 + 0x20))\n              (plVar1,*(long *)(lVar5 + 0xe8),*(long *)(lVar5 + 0xe8) == 0,lVar5,iVar6,param_2);\n    if (extraout_DL != '\0') {\n      lVar5 = *(long *)(*param_1 + -0x18) + (long)param_1;\n      FUN_00300860(lVar5,*(uint *)(lVar5 + 0x20) | 1);\n    }\n  }\n  FUN_002e5e10(acStack_48);\n  return param_1;\n}\n\n" (function_definition "long * thunk_FUN_002e6af0(long *param_1,undefined8 param_2)\n\n{\n  long *plVar1;\n  long *plVar2;\n  long lVar3;\n  char cVar4;\n  char extraout_DL;\n  long lVar5;\n  int iVar6;\n  char acStack_48 [24];\n  \n  FUN_002e5da0(acStack_48,param_1);\n  if (acStack_48[0] != '\0') {\n    lVar5 = *(long *)(*param_1 + -0x18) + (long)param_1;\n    plVar1 = *(long **)(lVar5 + 0xf8);\n    if (plVar1 == (long *)0x0) {\n                    \n      FUN_00319450();\n    }\n    if (*(char *)(lVar5 + 0xe1) == '\0') {\n      plVar2 = *(long **)(lVar5 + 0xf0);\n      if (plVar2 == (long *)0x0) {\n                    \n        FUN_00319450();\n      }\n      if ((char)plVar2[7] == '\0') {\n        FUN_00319ac0(plVar2);\n        iVar6 = 0x20;\n        cVar4 = ' ';\n        if (*(code **)(*plVar2 + 0x30) != (code *)PTR_FUN_0043dfd8) {\n          cVar4 = (**(code **)(*plVar2 + 0x30))(plVar2,0x20);\n          iVar6 = (int)cVar4;\n        }\n      }\n      else {\n        cVar4 = *(char *)((long)plVar2 + 0x59);\n        iVar6 = (int)cVar4;\n      }\n      *(char *)(lVar5 + 0xe0) = cVar4;\n      lVar3 = *param_1;\n      *(undefined1 *)(lVar5 + 0xe1) = 1;\n      lVar5 = *(long *)(lVar3 + -0x18) + (long)param_1;\n    }\n    else {\n      iVar6 = (int)*(char *)(lVar5 + 0xe0);\n    }\n    (**(code **)(*plVar1 + 0x20))\n              (plVar1,*(long *)(lVar5 + 0xe8),*(long *)(lVar5 + 0xe8) == 0,lVar5,iVar6,param_2);\n    if (extraout_DL != '\0') {\n      lVar5 = *(long *)(*param_1 + -0x18) + (long)param_1;\n      FUN_00300860(lVar5,*(uint *)(lVar5 + 0x20) | 1);\n    }\n  }\n  FUN_002e5e10(acStack_48);\n  return param_1;\n}" (sized_type_specifier "long" long) (pointer_declarator "* thunk_FUN_002e6af0(long *param_1,undefined8 param_2)" * (function_declarator "thunk_FUN_002e6af0(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  char cVar4;\n  char extraout_DL;\n  long lVar5;\n  int iVar6;\n  char acStack_48 [24];\n  \n  FUN_002e5da0(acStack_48,param_1);\n  if (acStack_48[0] != '\0') {\n    lVar5 = *(long *)(*param_1 + -0x18) + (long)param_1;\n    plVar1 = *(long **)(lVar5 + 0xf8);\n    if (plVar1 == (long *)0x0) {\n                    \n      FUN_00319450();\n    }\n    if (*(char *)(lVar5 + 0xe1) == '\0') {\n      plVar2 = *(long **)(lVar5 + 0xf0);\n      if (plVar2 == (long *)0x0) {\n                    \n        FUN_00319450();\n      }\n      if ((char)plVar2[7] == '\0') {\n        FUN_00319ac0(plVar2);\n        iVar6 = 0x20;\n        cVar4 = ' ';\n        if (*(code **)(*plVar2 + 0x30) != (code *)PTR_FUN_0043dfd8) {\n          cVar4 = (**(code **)(*plVar2 + 0x30))(plVar2,0x20);\n          iVar6 = (int)cVar4;\n        }\n      }\n      else {\n        cVar4 = *(char *)((long)plVar2 + 0x59);\n        iVar6 = (int)cVar4;\n      }\n      *(char *)(lVar5 + 0xe0) = cVar4;\n      lVar3 = *param_1;\n      *(undefined1 *)(lVar5 + 0xe1) = 1;\n      lVar5 = *(long *)(lVar3 + -0x18) + (long)param_1;\n    }\n    else {\n      iVar6 = (int)*(char *)(lVar5 + 0xe0);\n    }\n    (**(code **)(*plVar1 + 0x20))\n              (plVar1,*(long *)(lVar5 + 0xe8),*(long *)(lVar5 + 0xe8) == 0,lVar5,iVar6,param_2);\n    if (extraout_DL != '\0') {\n      lVar5 = *(long *)(*param_1 + -0x18) + (long)param_1;\n      FUN_00300860(lVar5,*(uint *)(lVar5 + 0x20) | 1);\n    }\n  }\n  FUN_002e5e10(acStack_48);\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 "char cVar4;" primitive_type identifier ;) (declaration "char extraout_DL;" primitive_type identifier ;) (declaration "long lVar5;" (sized_type_specifier "long" long) identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "char acStack_48 [24];" primitive_type (array_declarator "acStack_48 [24]" identifier [ number_literal ]) ;) (expression_statement "FUN_002e5da0(acStack_48,param_1);" (call_expression "FUN_002e5da0(acStack_48,param_1)" identifier (argument_list "(acStack_48,param_1)" ( identifier , identifier ))) ;) (if_statement "if (acStack_48[0] != '\0') {\n    lVar5 = *(long *)(*param_1 + -0x18) + (long)param_1;\n    plVar1 = *(long **)(lVar5 + 0xf8);\n    if (plVar1 == (long *)0x0) {\n                    \n      FUN_00319450();\n    }\n    if (*(char *)(lVar5 + 0xe1) == '\0') {\n      plVar2 = *(long **)(lVar5 + 0xf0);\n      if (plVar2 == (long *)0x0) {\n                    \n        FUN_00319450();\n      }\n      if ((char)plVar2[7] == '\0') {\n        FUN_00319ac0(plVar2);\n        iVar6 = 0x20;\n        cVar4 = ' ';\n        if (*(code **)(*plVar2 + 0x30) != (code *)PTR_FUN_0043dfd8) {\n          cVar4 = (**(code **)(*plVar2 + 0x30))(plVar2,0x20);\n          iVar6 = (int)cVar4;\n        }\n      }\n      else {\n        cVar4 = *(char *)((long)plVar2 + 0x59);\n        iVar6 = (int)cVar4;\n      }\n      *(char *)(lVar5 + 0xe0) = cVar4;\n      lVar3 = *param_1;\n      *(undefined1 *)(lVar5 + 0xe1) = 1;\n      lVar5 = *(long *)(lVar3 + -0x18) + (long)param_1;\n    }\n    else {\n      iVar6 = (int)*(char *)(lVar5 + 0xe0);\n    }\n    (**(code **)(*plVar1 + 0x20))\n              (plVar1,*(long *)(lVar5 + 0xe8),*(long *)(lVar5 + 0xe8) == 0,lVar5,iVar6,param_2);\n    if (extraout_DL != '\0') {\n      lVar5 = *(long *)(*param_1 + -0x18) + (long)param_1;\n      FUN_00300860(lVar5,*(uint *)(lVar5 + 0x20) | 1);\n    }\n  }" if (parenthesized_expression "(acStack_48[0] != '\0')" ( (binary_expression "acStack_48[0] != '\0'" (subscript_expression "acStack_48[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_00319450();\n    }\n    if (*(char *)(lVar5 + 0xe1) == '\0') {\n      plVar2 = *(long **)(lVar5 + 0xf0);\n      if (plVar2 == (long *)0x0) {\n                    \n        FUN_00319450();\n      }\n      if ((char)plVar2[7] == '\0') {\n        FUN_00319ac0(plVar2);\n        iVar6 = 0x20;\n        cVar4 = ' ';\n        if (*(code **)(*plVar2 + 0x30) != (code *)PTR_FUN_0043dfd8) {\n          cVar4 = (**(code **)(*plVar2 + 0x30))(plVar2,0x20);\n          iVar6 = (int)cVar4;\n        }\n      }\n      else {\n        cVar4 = *(char *)((long)plVar2 + 0x59);\n        iVar6 = (int)cVar4;\n      }\n      *(char *)(lVar5 + 0xe0) = cVar4;\n      lVar3 = *param_1;\n      *(undefined1 *)(lVar5 + 0xe1) = 1;\n      lVar5 = *(long *)(lVar3 + -0x18) + (long)param_1;\n    }\n    else {\n      iVar6 = (int)*(char *)(lVar5 + 0xe0);\n    }\n    (**(code **)(*plVar1 + 0x20))\n              (plVar1,*(long *)(lVar5 + 0xe8),*(long *)(lVar5 + 0xe8) == 0,lVar5,iVar6,param_2);\n    if (extraout_DL != '\0') {\n      lVar5 = *(long *)(*param_1 + -0x18) + (long)param_1;\n      FUN_00300860(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_00319450();\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_00319450();\n    }" { (expression_statement "FUN_00319450();" (call_expression "FUN_00319450()" identifier (argument_list "()" ( ))) ;) })) (if_statement "if (*(char *)(lVar5 + 0xe1) == '\0') {\n      plVar2 = *(long **)(lVar5 + 0xf0);\n      if (plVar2 == (long *)0x0) {\n                    \n        FUN_00319450();\n      }\n      if ((char)plVar2[7] == '\0') {\n        FUN_00319ac0(plVar2);\n        iVar6 = 0x20;\n        cVar4 = ' ';\n        if (*(code **)(*plVar2 + 0x30) != (code *)PTR_FUN_0043dfd8) {\n          cVar4 = (**(code **)(*plVar2 + 0x30))(plVar2,0x20);\n          iVar6 = (int)cVar4;\n        }\n      }\n      else {\n        cVar4 = *(char *)((long)plVar2 + 0x59);\n        iVar6 = (int)cVar4;\n      }\n      *(char *)(lVar5 + 0xe0) = cVar4;\n      lVar3 = *param_1;\n      *(undefined1 *)(lVar5 + 0xe1) = 1;\n      lVar5 = *(long *)(lVar3 + -0x18) + (long)param_1;\n    }\n    else {\n      iVar6 = (int)*(char *)(lVar5 + 0xe0);\n    }" if (parenthesized_expression "(*(char *)(lVar5 + 0xe1) == '\0')" ( (binary_expression "*(char *)(lVar5 + 0xe1) == '\0'" (pointer_expression "*(char *)(lVar5 + 0xe1)" * (cast_expression "(char *)(lVar5 + 0xe1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar5 + 0xe1)" ( (binary_expression "lVar5 + 0xe1" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      plVar2 = *(long **)(lVar5 + 0xf0);\n      if (plVar2 == (long *)0x0) {\n                    \n        FUN_00319450();\n      }\n      if ((char)plVar2[7] == '\0') {\n        FUN_00319ac0(plVar2);\n        iVar6 = 0x20;\n        cVar4 = ' ';\n        if (*(code **)(*plVar2 + 0x30) != (code *)PTR_FUN_0043dfd8) {\n          cVar4 = (**(code **)(*plVar2 + 0x30))(plVar2,0x20);\n          iVar6 = (int)cVar4;\n        }\n      }\n      else {\n        cVar4 = *(char *)((long)plVar2 + 0x59);\n        iVar6 = (int)cVar4;\n      }\n      *(char *)(lVar5 + 0xe0) = cVar4;\n      lVar3 = *param_1;\n      *(undefined1 *)(lVar5 + 0xe1) = 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_00319450();\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_00319450();\n      }" { (expression_statement "FUN_00319450();" (call_expression "FUN_00319450()" identifier (argument_list "()" ( ))) ;) })) (if_statement "if ((char)plVar2[7] == '\0') {\n        FUN_00319ac0(plVar2);\n        iVar6 = 0x20;\n        cVar4 = ' ';\n        if (*(code **)(*plVar2 + 0x30) != (code *)PTR_FUN_0043dfd8) {\n          cVar4 = (**(code **)(*plVar2 + 0x30))(plVar2,0x20);\n          iVar6 = (int)cVar4;\n        }\n      }\n      else {\n        cVar4 = *(char *)((long)plVar2 + 0x59);\n        iVar6 = (int)cVar4;\n      }" if (parenthesized_expression "((char)plVar2[7] == '\0')" ( (binary_expression "(char)plVar2[7] == '\0'" (cast_expression "(char)plVar2[7]" ( (type_descriptor "char" primitive_type) ) (subscript_expression "plVar2[7]" identifier [ number_literal ])) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        FUN_00319ac0(plVar2);\n        iVar6 = 0x20;\n        cVar4 = ' ';\n        if (*(code **)(*plVar2 + 0x30) != (code *)PTR_FUN_0043dfd8) {\n          cVar4 = (**(code **)(*plVar2 + 0x30))(plVar2,0x20);\n          iVar6 = (int)cVar4;\n        }\n      }" { (expression_statement "FUN_00319ac0(plVar2);" (call_expression "FUN_00319ac0(plVar2)" identifier (argument_list "(plVar2)" ( identifier ))) ;) (expression_statement "iVar6 = 0x20;" (assignment_expression "iVar6 = 0x20" identifier = number_literal) ;) (expression_statement "cVar4 = ' ';" (assignment_expression "cVar4 = ' '" identifier = (char_literal "' '" ' character ')) ;) (if_statement "if (*(code **)(*plVar2 + 0x30) != (code *)PTR_FUN_0043dfd8) {\n          cVar4 = (**(code **)(*plVar2 + 0x30))(plVar2,0x20);\n          iVar6 = (int)cVar4;\n        }" if (parenthesized_expression "(*(code **)(*plVar2 + 0x30) != (code *)PTR_FUN_0043dfd8)" ( (binary_expression "*(code **)(*plVar2 + 0x30) != (code *)PTR_FUN_0043dfd8" (pointer_expression "*(code **)(*plVar2 + 0x30)" * (cast_expression "(code **)(*plVar2 + 0x30)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*plVar2 + 0x30)" ( (binary_expression "*plVar2 + 0x30" (pointer_expression "*plVar2" * identifier) + number_literal) )))) != (cast_expression "(code *)PTR_FUN_0043dfd8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (compound_statement "{\n          cVar4 = (**(code **)(*plVar2 + 0x30))(plVar2,0x20);\n          iVar6 = (int)cVar4;\n        }" { (expression_statement "cVar4 = (**(code **)(*plVar2 + 0x30))(plVar2,0x20);" (assignment_expression "cVar4 = (**(code **)(*plVar2 + 0x30))(plVar2,0x20)" identifier = (call_expression "(**(code **)(*plVar2 + 0x30))(plVar2,0x20)" (parenthesized_expression "(**(code **)(*plVar2 + 0x30))" ( (pointer_expression "**(code **)(*plVar2 + 0x30)" * (pointer_expression "*(code **)(*plVar2 + 0x30)" * (cast_expression "(code **)(*plVar2 + 0x30)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*plVar2 + 0x30)" ( (binary_expression "*plVar2 + 0x30" (pointer_expression "*plVar2" * identifier) + number_literal) ))))) )) (argument_list "(plVar2,0x20)" ( identifier , number_literal )))) ;) (expression_statement "iVar6 = (int)cVar4;" (assignment_expression "iVar6 = (int)cVar4" identifier = (cast_expression "(int)cVar4" ( (type_descriptor "int" primitive_type) ) identifier)) ;) })) }) (else_clause "else {\n        cVar4 = *(char *)((long)plVar2 + 0x59);\n        iVar6 = (int)cVar4;\n      }" else (compound_statement "{\n        cVar4 = *(char *)((long)plVar2 + 0x59);\n        iVar6 = (int)cVar4;\n      }" { (expression_statement "cVar4 = *(char *)((long)plVar2 + 0x59);" (assignment_expression "cVar4 = *(char *)((long)plVar2 + 0x59)" identifier = (pointer_expression "*(char *)((long)plVar2 + 0x59)" * (cast_expression "(char *)((long)plVar2 + 0x59)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)plVar2 + 0x59)" ( (binary_expression "(long)plVar2 + 0x59" (cast_expression "(long)plVar2" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) ))))) ;) (expression_statement "iVar6 = (int)cVar4;" (assignment_expression "iVar6 = (int)cVar4" identifier = (cast_expression "(int)cVar4" ( (type_descriptor "int" primitive_type) ) identifier)) ;) }))) (expression_statement "*(char *)(lVar5 + 0xe0) = cVar4;" (assignment_expression "*(char *)(lVar5 + 0xe0) = cVar4" (pointer_expression "*(char *)(lVar5 + 0xe0)" * (cast_expression "(char *)(lVar5 + 0xe0)" ( (type_descriptor "char *" primitive_type (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 + 0xe1) = 1;" (assignment_expression "*(undefined1 *)(lVar5 + 0xe1) = 1" (pointer_expression "*(undefined1 *)(lVar5 + 0xe1)" * (cast_expression "(undefined1 *)(lVar5 + 0xe1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar5 + 0xe1)" ( (binary_expression "lVar5 + 0xe1" 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      iVar6 = (int)*(char *)(lVar5 + 0xe0);\n    }" else (compound_statement "{\n      iVar6 = (int)*(char *)(lVar5 + 0xe0);\n    }" { (expression_statement "iVar6 = (int)*(char *)(lVar5 + 0xe0);" (assignment_expression "iVar6 = (int)*(char *)(lVar5 + 0xe0)" identifier = (cast_expression "(int)*(char *)(lVar5 + 0xe0)" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*(char *)(lVar5 + 0xe0)" * (cast_expression "(char *)(lVar5 + 0xe0)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar5 + 0xe0)" ( (binary_expression "lVar5 + 0xe0" identifier + number_literal) )))))) ;) }))) (expression_statement "(**(code **)(*plVar1 + 0x20))\n              (plVar1,*(long *)(lVar5 + 0xe8),*(long *)(lVar5 + 0xe8) == 0,lVar5,iVar6,param_2);" (call_expression "(**(code **)(*plVar1 + 0x20))\n              (plVar1,*(long *)(lVar5 + 0xe8),*(long *)(lVar5 + 0xe8) == 0,lVar5,iVar6,param_2)" (parenthesized_expression "(**(code **)(*plVar1 + 0x20))" ( (pointer_expression "**(code **)(*plVar1 + 0x20)" * (pointer_expression "*(code **)(*plVar1 + 0x20)" * (cast_expression "(code **)(*plVar1 + 0x20)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*plVar1 + 0x20)" ( (binary_expression "*plVar1 + 0x20" (pointer_expression "*plVar1" * identifier) + number_literal) ))))) )) (argument_list "(plVar1,*(long *)(lVar5 + 0xe8),*(long *)(lVar5 + 0xe8) == 0,lVar5,iVar6,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_00300860(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_00300860(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_00300860(lVar5,*(uint *)(lVar5 + 0x20) | 1);" (call_expression "FUN_00300860(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_002e5e10(acStack_48);" (call_expression "FUN_002e5e10(acStack_48)" identifier (argument_list "(acStack_48)" ( 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 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 ( ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (char_literal ' character ')) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (compound_statement { (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 IDENT = (cast_expression ( (type_descriptor TYPE) ) 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 (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) }))) (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 = (cast_expression ( (type_descriptor TYPE) ) (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_002e6af0(long *param_1,undefined8 param_2)\n\n{\n  long *plVar1;\n  long *plVar2;\n  long lVar3;\n  char cVar4;\n  char extraout_DL;\n  long lVar5;\n  int iVar6;\n  char acStack_48 [24];\n  \n  FUN_002e5da0(acStack_48,param_1);\n  if (acStack_48[0] != '\0') {\n    lVar5 = *(long *)(*param_1 + -0x18) + (long)param_1;\n    plVar1 = *(long **)(lVar5 + 0xf8);\n    if (plVar1 == (long *)0x0) {\n                    \n      FUN_00319450();\n    }\n    if (*(char *)(lVar5 + 0xe1) == '\0') {\n      plVar2 = *(long **)(lVar5 + 0xf0);\n      if (plVar2 == (long *)0x0) {\n                    \n        FUN_00319450();\n      }\n      if ((char)plVar2[7] == '\0') {\n        FUN_00319ac0(plVar2);\n        iVar6 = 0x20;\n        cVar4 = ' ';\n        if (*(code **)(*plVar2 + 0x30) != (code *)PTR_FUN_0043dfd8) {\n          cVar4 = (**(code **)(*plVar2 + 0x30))(plVar2,0x20);\n          iVar6 = (int)cVar4;\n        }\n      }\n      else {\n        cVar4 = *(char *)((long)plVar2 + 0x59);\n        iVar6 = (int)cVar4;\n      }\n      *(char *)(lVar5 + 0xe0) = cVar4;\n      lVar3 = *param_1;\n      *(undefined1 *)(lVar5 + 0xe1) = 1;\n      lVar5 = *(long *)(lVar3 + -0x18) + (long)param_1;\n    }\n    else {\n      iVar6 = (int)*(char *)(lVar5 + 0xe0);\n    }\n    (**(code **)(*plVar1 + 0x20))\n              (plVar1,*(long *)(lVar5 + 0xe8),*(long *)(lVar5 + 0xe8) == 0,lVar5,iVar6,param_2);\n    if (extraout_DL != '\0') {\n      lVar5 = *(long *)(*param_1 + -0x18) + (long)param_1;\n      FUN_00300860(lVar5,*(uint *)(lVar5 + 0x20) | 1);\n    }\n  }\n  FUN_002e5e10(acStack_48);\n  return param_1;\n}" (sized_type_specifier "long" (long "long")) (pointer_declarator "* thunk_FUN_002e6af0(long *param_1,undefined8 param_2)" (* "*") (function_declarator "thunk_FUN_002e6af0(long *param_1,undefined8 param_2)" (identifier "thunk_FUN_002e6af0") (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  char cVar4;\n  char extraout_DL;\n  long lVar5;\n  int iVar6;\n  char acStack_48 [24];\n  \n  FUN_002e5da0(acStack_48,param_1);\n  if (acStack_48[0] != '\0') {\n    lVar5 = *(long *)(*param_1 + -0x18) + (long)param_1;\n    plVar1 = *(long **)(lVar5 + 0xf8);\n    if (plVar1 == (long *)0x0) {\n                    \n      FUN_00319450();\n    }\n    if (*(char *)(lVar5 + 0xe1) == '\0') {\n      plVar2 = *(long **)(lVar5 + 0xf0);\n      if (plVar2 == (long *)0x0) {\n                    \n        FUN_00319450();\n      }\n      if ((char)plVar2[7] == '\0') {\n        FUN_00319ac0(plVar2);\n        iVar6 = 0x20;\n        cVar4 = ' ';\n        if (*(code **)(*plVar2 + 0x30) != (code *)PTR_FUN_0043dfd8) {\n          cVar4 = (**(code **)(*plVar2 + 0x30))(plVar2,0x20);\n          iVar6 = (int)cVar4;\n        }\n      }\n      else {\n        cVar4 = *(char *)((long)plVar2 + 0x59);\n        iVar6 = (int)cVar4;\n      }\n      *(char *)(lVar5 + 0xe0) = cVar4;\n      lVar3 = *param_1;\n      *(undefined1 *)(lVar5 + 0xe1) = 1;\n      lVar5 = *(long *)(lVar3 + -0x18) + (long)param_1;\n    }\n    else {\n      iVar6 = (int)*(char *)(lVar5 + 0xe0);\n    }\n    (**(code **)(*plVar1 + 0x20))\n              (plVar1,*(long *)(lVar5 + 0xe8),*(long *)(lVar5 + 0xe8) == 0,lVar5,iVar6,param_2);\n    if (extraout_DL != '\0') {\n      lVar5 = *(long *)(*param_1 + -0x18) + (long)param_1;\n      FUN_00300860(lVar5,*(uint *)(lVar5 + 0x20) | 1);\n    }\n  }\n  FUN_002e5e10(acStack_48);\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 "char cVar4;" (primitive_type "char") (identifier "cVar4") (; ";")) (declaration "char extraout_DL;" (primitive_type "char") (identifier "extraout_DL") (; ";")) (declaration "long lVar5;" (sized_type_specifier "long" (long "long")) (identifier "lVar5") (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "char acStack_48 [24];" (primitive_type "char") (array_declarator "acStack_48 [24]" (identifier "acStack_48") ([ "[") (number_literal "24") (] "]")) (; ";")) (expression_statement "FUN_002e5da0(acStack_48,param_1);" (call_expression "FUN_002e5da0(acStack_48,param_1)" (identifier "FUN_002e5da0") (argument_list "(acStack_48,param_1)" (( "(") (identifier "acStack_48") (, ",") (identifier "param_1") () ")"))) (; ";")) (if_statement "if (acStack_48[0] != '\0') {\n    lVar5 = *(long *)(*param_1 + -0x18) + (long)param_1;\n    plVar1 = *(long **)(lVar5 + 0xf8);\n    if (plVar1 == (long *)0x0) {\n                    \n      FUN_00319450();\n    }\n    if (*(char *)(lVar5 + 0xe1) == '\0') {\n      plVar2 = *(long **)(lVar5 + 0xf0);\n      if (plVar2 == (long *)0x0) {\n                    \n        FUN_00319450();\n      }\n      if ((char)plVar2[7] == '\0') {\n        FUN_00319ac0(plVar2);\n        iVar6 = 0x20;\n        cVar4 = ' ';\n        if (*(code **)(*plVar2 + 0x30) != (code *)PTR_FUN_0043dfd8) {\n          cVar4 = (**(code **)(*plVar2 + 0x30))(plVar2,0x20);\n          iVar6 = (int)cVar4;\n        }\n      }\n      else {\n        cVar4 = *(char *)((long)plVar2 + 0x59);\n        iVar6 = (int)cVar4;\n      }\n      *(char *)(lVar5 + 0xe0) = cVar4;\n      lVar3 = *param_1;\n      *(undefined1 *)(lVar5 + 0xe1) = 1;\n      lVar5 = *(long *)(lVar3 + -0x18) + (long)param_1;\n    }\n    else {\n      iVar6 = (int)*(char *)(lVar5 + 0xe0);\n    }\n    (**(code **)(*plVar1 + 0x20))\n              (plVar1,*(long *)(lVar5 + 0xe8),*(long *)(lVar5 + 0xe8) == 0,lVar5,iVar6,param_2);\n    if (extraout_DL != '\0') {\n      lVar5 = *(long *)(*param_1 + -0x18) + (long)param_1;\n      FUN_00300860(lVar5,*(uint *)(lVar5 + 0x20) | 1);\n    }\n  }" (if "if") (parenthesized_expression "(acStack_48[0] != '\0')" (( "(") (binary_expression "acStack_48[0] != '\0'" (subscript_expression "acStack_48[0]" (identifier "acStack_48") ([ "[") (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_00319450();\n    }\n    if (*(char *)(lVar5 + 0xe1) == '\0') {\n      plVar2 = *(long **)(lVar5 + 0xf0);\n      if (plVar2 == (long *)0x0) {\n                    \n        FUN_00319450();\n      }\n      if ((char)plVar2[7] == '\0') {\n        FUN_00319ac0(plVar2);\n        iVar6 = 0x20;\n        cVar4 = ' ';\n        if (*(code **)(*plVar2 + 0x30) != (code *)PTR_FUN_0043dfd8) {\n          cVar4 = (**(code **)(*plVar2 + 0x30))(plVar2,0x20);\n          iVar6 = (int)cVar4;\n        }\n      }\n      else {\n        cVar4 = *(char *)((long)plVar2 + 0x59);\n        iVar6 = (int)cVar4;\n      }\n      *(char *)(lVar5 + 0xe0) = cVar4;\n      lVar3 = *param_1;\n      *(undefined1 *)(lVar5 + 0xe1) = 1;\n      lVar5 = *(long *)(lVar3 + -0x18) + (long)param_1;\n    }\n    else {\n      iVar6 = (int)*(char *)(lVar5 + 0xe0);\n    }\n    (**(code **)(*plVar1 + 0x20))\n              (plVar1,*(long *)(lVar5 + 0xe8),*(long *)(lVar5 + 0xe8) == 0,lVar5,iVar6,param_2);\n    if (extraout_DL != '\0') {\n      lVar5 = *(long *)(*param_1 + -0x18) + (long)param_1;\n      FUN_00300860(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_00319450();\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_00319450();\n    }" ({ "{") (expression_statement "FUN_00319450();" (call_expression "FUN_00319450()" (identifier "FUN_00319450") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (if_statement "if (*(char *)(lVar5 + 0xe1) == '\0') {\n      plVar2 = *(long **)(lVar5 + 0xf0);\n      if (plVar2 == (long *)0x0) {\n                    \n        FUN_00319450();\n      }\n      if ((char)plVar2[7] == '\0') {\n        FUN_00319ac0(plVar2);\n        iVar6 = 0x20;\n        cVar4 = ' ';\n        if (*(code **)(*plVar2 + 0x30) != (code *)PTR_FUN_0043dfd8) {\n          cVar4 = (**(code **)(*plVar2 + 0x30))(plVar2,0x20);\n          iVar6 = (int)cVar4;\n        }\n      }\n      else {\n        cVar4 = *(char *)((long)plVar2 + 0x59);\n        iVar6 = (int)cVar4;\n      }\n      *(char *)(lVar5 + 0xe0) = cVar4;\n      lVar3 = *param_1;\n      *(undefined1 *)(lVar5 + 0xe1) = 1;\n      lVar5 = *(long *)(lVar3 + -0x18) + (long)param_1;\n    }\n    else {\n      iVar6 = (int)*(char *)(lVar5 + 0xe0);\n    }" (if "if") (parenthesized_expression "(*(char *)(lVar5 + 0xe1) == '\0')" (( "(") (binary_expression "*(char *)(lVar5 + 0xe1) == '\0'" (pointer_expression "*(char *)(lVar5 + 0xe1)" (* "*") (cast_expression "(char *)(lVar5 + 0xe1)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar5 + 0xe1)" (( "(") (binary_expression "lVar5 + 0xe1" (identifier "lVar5") (+ "+") (number_literal "0xe1")) () ")")))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n      plVar2 = *(long **)(lVar5 + 0xf0);\n      if (plVar2 == (long *)0x0) {\n                    \n        FUN_00319450();\n      }\n      if ((char)plVar2[7] == '\0') {\n        FUN_00319ac0(plVar2);\n        iVar6 = 0x20;\n        cVar4 = ' ';\n        if (*(code **)(*plVar2 + 0x30) != (code *)PTR_FUN_0043dfd8) {\n          cVar4 = (**(code **)(*plVar2 + 0x30))(plVar2,0x20);\n          iVar6 = (int)cVar4;\n        }\n      }\n      else {\n        cVar4 = *(char *)((long)plVar2 + 0x59);\n        iVar6 = (int)cVar4;\n      }\n      *(char *)(lVar5 + 0xe0) = cVar4;\n      lVar3 = *param_1;\n      *(undefined1 *)(lVar5 + 0xe1) = 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_00319450();\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_00319450();\n      }" ({ "{") (expression_statement "FUN_00319450();" (call_expression "FUN_00319450()" (identifier "FUN_00319450") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (if_statement "if ((char)plVar2[7] == '\0') {\n        FUN_00319ac0(plVar2);\n        iVar6 = 0x20;\n        cVar4 = ' ';\n        if (*(code **)(*plVar2 + 0x30) != (code *)PTR_FUN_0043dfd8) {\n          cVar4 = (**(code **)(*plVar2 + 0x30))(plVar2,0x20);\n          iVar6 = (int)cVar4;\n        }\n      }\n      else {\n        cVar4 = *(char *)((long)plVar2 + 0x59);\n        iVar6 = (int)cVar4;\n      }" (if "if") (parenthesized_expression "((char)plVar2[7] == '\0')" (( "(") (binary_expression "(char)plVar2[7] == '\0'" (cast_expression "(char)plVar2[7]" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (subscript_expression "plVar2[7]" (identifier "plVar2") ([ "[") (number_literal "7") (] "]"))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n        FUN_00319ac0(plVar2);\n        iVar6 = 0x20;\n        cVar4 = ' ';\n        if (*(code **)(*plVar2 + 0x30) != (code *)PTR_FUN_0043dfd8) {\n          cVar4 = (**(code **)(*plVar2 + 0x30))(plVar2,0x20);\n          iVar6 = (int)cVar4;\n        }\n      }" ({ "{") (expression_statement "FUN_00319ac0(plVar2);" (call_expression "FUN_00319ac0(plVar2)" (identifier "FUN_00319ac0") (argument_list "(plVar2)" (( "(") (identifier "plVar2") () ")"))) (; ";")) (expression_statement "iVar6 = 0x20;" (assignment_expression "iVar6 = 0x20" (identifier "iVar6") (= "=") (number_literal "0x20")) (; ";")) (expression_statement "cVar4 = ' ';" (assignment_expression "cVar4 = ' '" (identifier "cVar4") (= "=") (char_literal "' '" (' "'") (character " ") (' "'"))) (; ";")) (if_statement "if (*(code **)(*plVar2 + 0x30) != (code *)PTR_FUN_0043dfd8) {\n          cVar4 = (**(code **)(*plVar2 + 0x30))(plVar2,0x20);\n          iVar6 = (int)cVar4;\n        }" (if "if") (parenthesized_expression "(*(code **)(*plVar2 + 0x30) != (code *)PTR_FUN_0043dfd8)" (( "(") (binary_expression "*(code **)(*plVar2 + 0x30) != (code *)PTR_FUN_0043dfd8" (pointer_expression "*(code **)(*plVar2 + 0x30)" (* "*") (cast_expression "(code **)(*plVar2 + 0x30)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*plVar2 + 0x30)" (( "(") (binary_expression "*plVar2 + 0x30" (pointer_expression "*plVar2" (* "*") (identifier "plVar2")) (+ "+") (number_literal "0x30")) () ")")))) (!= "!=") (cast_expression "(code *)PTR_FUN_0043dfd8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_FUN_0043dfd8"))) () ")")) (compound_statement "{\n          cVar4 = (**(code **)(*plVar2 + 0x30))(plVar2,0x20);\n          iVar6 = (int)cVar4;\n        }" ({ "{") (expression_statement "cVar4 = (**(code **)(*plVar2 + 0x30))(plVar2,0x20);" (assignment_expression "cVar4 = (**(code **)(*plVar2 + 0x30))(plVar2,0x20)" (identifier "cVar4") (= "=") (call_expression "(**(code **)(*plVar2 + 0x30))(plVar2,0x20)" (parenthesized_expression "(**(code **)(*plVar2 + 0x30))" (( "(") (pointer_expression "**(code **)(*plVar2 + 0x30)" (* "*") (pointer_expression "*(code **)(*plVar2 + 0x30)" (* "*") (cast_expression "(code **)(*plVar2 + 0x30)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*plVar2 + 0x30)" (( "(") (binary_expression "*plVar2 + 0x30" (pointer_expression "*plVar2" (* "*") (identifier "plVar2")) (+ "+") (number_literal "0x30")) () ")"))))) () ")")) (argument_list "(plVar2,0x20)" (( "(") (identifier "plVar2") (, ",") (number_literal "0x20") () ")")))) (; ";")) (expression_statement "iVar6 = (int)cVar4;" (assignment_expression "iVar6 = (int)cVar4" (identifier "iVar6") (= "=") (cast_expression "(int)cVar4" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "cVar4"))) (; ";")) (} "}"))) (} "}")) (else_clause "else {\n        cVar4 = *(char *)((long)plVar2 + 0x59);\n        iVar6 = (int)cVar4;\n      }" (else "else") (compound_statement "{\n        cVar4 = *(char *)((long)plVar2 + 0x59);\n        iVar6 = (int)cVar4;\n      }" ({ "{") (expression_statement "cVar4 = *(char *)((long)plVar2 + 0x59);" (assignment_expression "cVar4 = *(char *)((long)plVar2 + 0x59)" (identifier "cVar4") (= "=") (pointer_expression "*(char *)((long)plVar2 + 0x59)" (* "*") (cast_expression "(char *)((long)plVar2 + 0x59)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)plVar2 + 0x59)" (( "(") (binary_expression "(long)plVar2 + 0x59" (cast_expression "(long)plVar2" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "plVar2")) (+ "+") (number_literal "0x59")) () ")"))))) (; ";")) (expression_statement "iVar6 = (int)cVar4;" (assignment_expression "iVar6 = (int)cVar4" (identifier "iVar6") (= "=") (cast_expression "(int)cVar4" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "cVar4"))) (; ";")) (} "}")))) (expression_statement "*(char *)(lVar5 + 0xe0) = cVar4;" (assignment_expression "*(char *)(lVar5 + 0xe0) = cVar4" (pointer_expression "*(char *)(lVar5 + 0xe0)" (* "*") (cast_expression "(char *)(lVar5 + 0xe0)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar5 + 0xe0)" (( "(") (binary_expression "lVar5 + 0xe0" (identifier "lVar5") (+ "+") (number_literal "0xe0")) () ")")))) (= "=") (identifier "cVar4")) (; ";")) (expression_statement "lVar3 = *param_1;" (assignment_expression "lVar3 = *param_1" (identifier "lVar3") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "*(undefined1 *)(lVar5 + 0xe1) = 1;" (assignment_expression "*(undefined1 *)(lVar5 + 0xe1) = 1" (pointer_expression "*(undefined1 *)(lVar5 + 0xe1)" (* "*") (cast_expression "(undefined1 *)(lVar5 + 0xe1)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar5 + 0xe1)" (( "(") (binary_expression "lVar5 + 0xe1" (identifier "lVar5") (+ "+") (number_literal "0xe1")) () ")")))) (= "=") (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      iVar6 = (int)*(char *)(lVar5 + 0xe0);\n    }" (else "else") (compound_statement "{\n      iVar6 = (int)*(char *)(lVar5 + 0xe0);\n    }" ({ "{") (expression_statement "iVar6 = (int)*(char *)(lVar5 + 0xe0);" (assignment_expression "iVar6 = (int)*(char *)(lVar5 + 0xe0)" (identifier "iVar6") (= "=") (cast_expression "(int)*(char *)(lVar5 + 0xe0)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (pointer_expression "*(char *)(lVar5 + 0xe0)" (* "*") (cast_expression "(char *)(lVar5 + 0xe0)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar5 + 0xe0)" (( "(") (binary_expression "lVar5 + 0xe0" (identifier "lVar5") (+ "+") (number_literal "0xe0")) () ")")))))) (; ";")) (} "}")))) (expression_statement "(**(code **)(*plVar1 + 0x20))\n              (plVar1,*(long *)(lVar5 + 0xe8),*(long *)(lVar5 + 0xe8) == 0,lVar5,iVar6,param_2);" (call_expression "(**(code **)(*plVar1 + 0x20))\n              (plVar1,*(long *)(lVar5 + 0xe8),*(long *)(lVar5 + 0xe8) == 0,lVar5,iVar6,param_2)" (parenthesized_expression "(**(code **)(*plVar1 + 0x20))" (( "(") (pointer_expression "**(code **)(*plVar1 + 0x20)" (* "*") (pointer_expression "*(code **)(*plVar1 + 0x20)" (* "*") (cast_expression "(code **)(*plVar1 + 0x20)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*plVar1 + 0x20)" (( "(") (binary_expression "*plVar1 + 0x20" (pointer_expression "*plVar1" (* "*") (identifier "plVar1")) (+ "+") (number_literal "0x20")) () ")"))))) () ")")) (argument_list "(plVar1,*(long *)(lVar5 + 0xe8),*(long *)(lVar5 + 0xe8) == 0,lVar5,iVar6,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 "iVar6") (, ",") (identifier "param_2") () ")"))) (; ";")) (if_statement "if (extraout_DL != '\0') {\n      lVar5 = *(long *)(*param_1 + -0x18) + (long)param_1;\n      FUN_00300860(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_00300860(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_00300860(lVar5,*(uint *)(lVar5 + 0x20) | 1);" (call_expression "FUN_00300860(lVar5,*(uint *)(lVar5 + 0x20) | 1)" (identifier "FUN_00300860") (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_002e5e10(acStack_48);" (call_expression "FUN_002e5e10(acStack_48)" (identifier "FUN_002e5e10") (argument_list "(acStack_48)" (( "(") (identifier "acStack_48") () ")"))) (; ";")) (return_statement "return param_1;" (return "return") (identifier "param_1") (; ";")) (} "}")))

/* std::ostream::TEMPNAMEPLACEHOLDERVALUE(unsigned long) */

type_1 * __thiscall std::type_1::operator<<(type_1 *var_4,ulong param_1)

{
  long *var_6;
  var_1<var_2> *var_8;
  long var_11;
  var_1<var_2> var_3;
  char var_12;
  type_1 *var_5;
  int iVar5;
  type_2 asStack_48 [24];
  
  sentry::type_2(asStack_48,var_4);
  if (asStack_48[0] != (type_2)0x0) {
    var_5 = var_4 + *(long *)(*(long *)var_4 + -0x18);
    var_6 = *(long **)(var_5 + 0xf8);
    if (var_6 == (long *)0x0) {
                    /* WARNING: Subroutine does not return */
      var_7();
    }
    if (var_5[0xe1] == (type_1)0x0) {
      var_8 = *(var_1<var_2> **var_10)(var_5 + 0xf0);
      if (var_8 == (var_1<var_2> *)0x0) {
                    /* WARNING: Subroutine does not return */
        var_7();
      }
      if (var_8[0x38] == (var_1<var_2>)0x0) {
        var_1<var_2>::var_9(var_8);
        iVar5 = 0x20;
        var_3 = (var_1<var_2>)0x20;
        if (*(type_3 **)(*(long *)var_8 + 0x30) != (type_3 *)PTR_do_widen_0043dfd8) {
          var_3 = (var_1<var_2>var_10)(**(type_3 **)(*(long *)var_8 + 0x30))(var_8,0x20);
          iVar5 = (int)(char)var_3;
        }
      }
      else {
        var_3 = var_8[0x59];
        iVar5 = (int)(char)var_3;
      }
      *(var_1<var_2> *var_10)(var_5 + 0xe0) = var_3;
      var_11 = *(long *)var_4;
      var_5[0xe1] = (type_1)0x1;
      var_5 = var_4 + *(long *)(var_11 + -0x18);
    }
    else {
      iVar5 = (int)(char)var_5[0xe0];
    }
    (**(type_3 **)(*var_6 + 0x20))
              (var_6,*(long *)(var_5 + 0xe8),*(long *)(var_5 + 0xe8) == 0,var_5,iVar5,param_1);
    if (var_12 != '\0') {
      ios::var_13((type_4 *)(var_4 + *(long *)(*(long *)var_4 + -0x18)),
                 *(type_5 *)((type_4 *)(var_4 + *(long *)(*(long *)var_4 + -0x18)) + 0x20) |
                 var_14);
    }
  }
  sentry::~type_2(asStack_48);
  return var_4;
}


(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: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (sized_type_specifier) declarator: (identifier)) (declaration type: (primitive_type) 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))))) (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (subscript_expression argument: (identifier) index: (number_literal))) right: (char_literal (escape_sequence)))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (char_literal (character)))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) consequence: (compound_statement (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: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier))))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (sized_type_specifier)) value: (identifier)) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier))))))) (expression_statement (assignment_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: (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: (cast_expression type: (type_descriptor type: (primitive_type)) value: (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))))))))))) (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;
  char cVar4;
  char extraout_DL;
  long lVar5;
  int iVar6;
  char acStack_48 [24];
  
  FUN_002e5da0(acStack_48,param_1);
  if (acStack_48[0] != '\0') {
    lVar5 = *(long *)(*param_1 + -0x18) + (long)param_1;
    plVar1 = *(long **)(lVar5 + 0xf8);
    if (plVar1 == (long *)0x0) {
                    /* WARNING: Subroutine does not return */
      FUN_00319450();
    }
    if (*(char *)(lVar5 + 0xe1) == '\0') {
      plVar2 = *(long **)(lVar5 + 0xf0);
      if (plVar2 == (long *)0x0) {
                    /* WARNING: Subroutine does not return */
        FUN_00319450();
      }
      if ((char)plVar2[7] == '\0') {
        FUN_00319ac0(plVar2);
        iVar6 = 0x20;
        cVar4 = ' ';
        if (*(code **)(*plVar2 + 0x30) != (code *)PTR_FUN_0043dfd8) {
          cVar4 = (**(code **)(*plVar2 + 0x30))(plVar2,0x20);
          iVar6 = (int)cVar4;
        }
      }
      else {
        cVar4 = *(char *)((long)plVar2 + 0x59);
        iVar6 = (int)cVar4;
      }
      *(char *)(lVar5 + 0xe0) = cVar4;
      lVar3 = *param_1;
      *(undefined1 *)(lVar5 + 0xe1) = 1;
      lVar5 = *(long *)(lVar3 + -0x18) + (long)param_1;
    }
    else {
      iVar6 = (int)*(char *)(lVar5 + 0xe0);
    }
    (**(code **)(*plVar1 + 0x20))
              (plVar1,*(long *)(lVar5 + 0xe8),*(long *)(lVar5 + 0xe8) == 0,lVar5,iVar6,param_2);
    if (extraout_DL != '\0') {
      lVar5 = *(long *)(*param_1 + -0x18) + (long)param_1;
      FUN_00300860(lVar5,*(uint *)(lVar5 + 0x20) | 1);
    }
  }
  FUN_002e5e10(acStack_48);
  return param_1;
}

