
/* std::istream::TEMPNAMEPLACEHOLDERVALUE(std::streambuf*) */

istream * __thiscall std::istream::operator>>(istream *this,streambuf *param_1)

{
  int iVar1;
  istream *piVar2;
  sentry local_1e;
  bool local_1d [13];
  
  __x86_get_pc_thunk_di();
  sentry::sentry(&local_1e,this,false);
  if (local_1e == (sentry)0x0) {
    if (param_1 != (streambuf *)0x0) {
      return this;
    }
    piVar2 = this + *(int *)(*(int *)this + -0xc);
  }
  else {
    piVar2 = this + *(int *)(*(int *)this + -0xc);
    if (param_1 != (streambuf *)0x0) {
                    /* try { // try from 0026c079 to 0026c07d has its CatchHandler @ 0026c102 */
      iVar1 = __copy_streambufs_eof<char,std::char_traits<char>>
                        (*(streambuf **)(piVar2 + 0x78),param_1,local_1d);
      if (iVar1 == 0) {
        piVar2 = this + *(int *)(*(int *)this + -0xc);
      }
      else {
        if (local_1d[0] == false) {
          return this;
        }
        piVar2 = this + *(int *)(*(int *)this + -0xc);
      }
    }
  }
  ios::clear((_Ios_Iostate)piVar2);
  return this;
}



int * FUN_0026c030(int *param_1,int param_2)

{
  uint uVar1;
  int iVar2;
  char local_1e;
  char local_1d [13];
  
  FUN_000b484e();
  FUN_0026bb10(&local_1e,param_1,0);
  if (local_1e == '\0') {
    if (param_2 != 0) {
      return param_1;
    }
    uVar1 = 4;
    iVar2 = *(int *)(*param_1 + -0xc) + (int)param_1;
  }
  else {
    iVar2 = *(int *)(*param_1 + -0xc) + (int)param_1;
    if (param_2 == 0) {
      uVar1 = 4;
    }
    else {
                    /* try { // try from 0026c079 to 0026c07d has its CatchHandler @ 0026c102 */
      iVar2 = FUN_00296a30(*(undefined4 *)(iVar2 + 0x78),param_2,local_1d);
      if (iVar2 == 0) {
        iVar2 = *(int *)(*param_1 + -0xc) + (int)param_1;
        uVar1 = (-(uint)(local_1d[0] == '\0') & 0xfffffffe) + 6;
      }
      else {
        if (local_1d[0] == '\0') {
          return param_1;
        }
        uVar1 = 2;
        iVar2 = *(int *)(*param_1 + -0xc) + (int)param_1;
      }
    }
  }
  FUN_00272070(iVar2,uVar1 | *(uint *)(iVar2 + 0x14));
  return param_1;
}


PUSH EBP
MOV EBP,ESP
PUSH EDI
CALL 0x000b484e
ADD EDI,0x1a7fc7
PUSH ESI
LEA EAX,[EBP + -0x1a]
PUSH EBX
SUB ESP,0x20
MOV ESI,dword ptr [EBP + 0x8]
PUSH 0x0
PUSH ESI
MOV EBX,EDI
PUSH EAX
CALL 0x0026bb10
ADD ESP,0x10
CMP byte ptr [EBP + -0x1a],0x0
JZ 0x0026c0a0
MOV EAX,dword ptr [ESI]
MOV ECX,dword ptr [EBP + 0xc]
MOV EDX,dword ptr [EAX + -0xc]
ADD EDX,ESI
TEST ECX,ECX
JZ 0x0026c0b8
SUB ESP,0x4
LEA EAX,[EBP + -0x19]
PUSH EAX
PUSH dword ptr [EBP + 0xc]
PUSH dword ptr [EDX + 0x78]
CALL 0x00296a30
ADD ESP,0x10
MOVZX ECX,byte ptr [EBP + -0x19]
TEST EAX,EAX
JZ 0x0026c0e0
TEST CL,CL
JZ 0x0026c0a7
MOV EAX,dword ptr [ESI]
MOV EDX,dword ptr [EAX + -0xc]
MOV EAX,0x2
ADD EDX,ESI
JMP 0x0026c0bd
MOV EAX,dword ptr [EBP + 0xc]
TEST EAX,EAX
JZ 0x0026c0f4
LEA ESP,[EBP + -0xc]
MOV EAX,ESI
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EAX,0x4
SUB ESP,0x8
OR EAX,dword ptr [EDX + 0x14]
MOV EBX,EDI
PUSH EAX
PUSH EDX
CALL 0x00272070
ADD ESP,0x10
LEA ESP,[EBP + -0xc]
MOV EAX,ESI
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EAX,dword ptr [ESI]
MOV EDX,dword ptr [EAX + -0xc]
ADD EDX,ESI
CMP CL,0x1
SBB EAX,EAX
AND EAX,0xfffffffe
ADD EAX,0x6
JMP 0x0026c0bd
MOV EAX,dword ptr [ESI]
MOV EDX,dword ptr [EAX + -0xc]
MOV EAX,0x4
ADD EDX,ESI
JMP 0x0026c0bd
(translation_unit "int * FUN_0026c030(int *param_1,int param_2)\n\n{\n  uint uVar1;\n  int iVar2;\n  char local_1e;\n  char local_1d [13];\n  \n  FUN_000b484e();\n  FUN_0026bb10(&local_1e,param_1,0);\n  if (local_1e == '\0') {\n    if (param_2 != 0) {\n      return param_1;\n    }\n    uVar1 = 4;\n    iVar2 = *(int *)(*param_1 + -0xc) + (int)param_1;\n  }\n  else {\n    iVar2 = *(int *)(*param_1 + -0xc) + (int)param_1;\n    if (param_2 == 0) {\n      uVar1 = 4;\n    }\n    else {\n                    /* try { // try from 0026c079 to 0026c07d has its CatchHandler @ 0026c102 */\n      iVar2 = FUN_00296a30(*(undefined4 *)(iVar2 + 0x78),param_2,local_1d);\n      if (iVar2 == 0) {\n        iVar2 = *(int *)(*param_1 + -0xc) + (int)param_1;\n        uVar1 = (-(uint)(local_1d[0] == '\0') & 0xfffffffe) + 6;\n      }\n      else {\n        if (local_1d[0] == '\0') {\n          return param_1;\n        }\n        uVar1 = 2;\n        iVar2 = *(int *)(*param_1 + -0xc) + (int)param_1;\n      }\n    }\n  }\n  FUN_00272070(iVar2,uVar1 | *(uint *)(iVar2 + 0x14));\n  return param_1;\n}\n\n" (function_definition "int * FUN_0026c030(int *param_1,int param_2)\n\n{\n  uint uVar1;\n  int iVar2;\n  char local_1e;\n  char local_1d [13];\n  \n  FUN_000b484e();\n  FUN_0026bb10(&local_1e,param_1,0);\n  if (local_1e == '\0') {\n    if (param_2 != 0) {\n      return param_1;\n    }\n    uVar1 = 4;\n    iVar2 = *(int *)(*param_1 + -0xc) + (int)param_1;\n  }\n  else {\n    iVar2 = *(int *)(*param_1 + -0xc) + (int)param_1;\n    if (param_2 == 0) {\n      uVar1 = 4;\n    }\n    else {\n                    /* try { // try from 0026c079 to 0026c07d has its CatchHandler @ 0026c102 */\n      iVar2 = FUN_00296a30(*(undefined4 *)(iVar2 + 0x78),param_2,local_1d);\n      if (iVar2 == 0) {\n        iVar2 = *(int *)(*param_1 + -0xc) + (int)param_1;\n        uVar1 = (-(uint)(local_1d[0] == '\0') & 0xfffffffe) + 6;\n      }\n      else {\n        if (local_1d[0] == '\0') {\n          return param_1;\n        }\n        uVar1 = 2;\n        iVar2 = *(int *)(*param_1 + -0xc) + (int)param_1;\n      }\n    }\n  }\n  FUN_00272070(iVar2,uVar1 | *(uint *)(iVar2 + 0x14));\n  return param_1;\n}" primitive_type (pointer_declarator "* FUN_0026c030(int *param_1,int param_2)" * (function_declarator "FUN_0026c030(int *param_1,int param_2)" identifier (parameter_list "(int *param_1,int param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) )))) (compound_statement "{\n  uint uVar1;\n  int iVar2;\n  char local_1e;\n  char local_1d [13];\n  \n  FUN_000b484e();\n  FUN_0026bb10(&local_1e,param_1,0);\n  if (local_1e == '\0') {\n    if (param_2 != 0) {\n      return param_1;\n    }\n    uVar1 = 4;\n    iVar2 = *(int *)(*param_1 + -0xc) + (int)param_1;\n  }\n  else {\n    iVar2 = *(int *)(*param_1 + -0xc) + (int)param_1;\n    if (param_2 == 0) {\n      uVar1 = 4;\n    }\n    else {\n                    /* try { // try from 0026c079 to 0026c07d has its CatchHandler @ 0026c102 */\n      iVar2 = FUN_00296a30(*(undefined4 *)(iVar2 + 0x78),param_2,local_1d);\n      if (iVar2 == 0) {\n        iVar2 = *(int *)(*param_1 + -0xc) + (int)param_1;\n        uVar1 = (-(uint)(local_1d[0] == '\0') & 0xfffffffe) + 6;\n      }\n      else {\n        if (local_1d[0] == '\0') {\n          return param_1;\n        }\n        uVar1 = 2;\n        iVar2 = *(int *)(*param_1 + -0xc) + (int)param_1;\n      }\n    }\n  }\n  FUN_00272070(iVar2,uVar1 | *(uint *)(iVar2 + 0x14));\n  return param_1;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "char local_1e;" primitive_type identifier ;) (declaration "char local_1d [13];" primitive_type (array_declarator "local_1d [13]" identifier [ number_literal ]) ;) (expression_statement "FUN_000b484e();" (call_expression "FUN_000b484e()" identifier (argument_list "()" ( ))) ;) (expression_statement "FUN_0026bb10(&local_1e,param_1,0);" (call_expression "FUN_0026bb10(&local_1e,param_1,0)" identifier (argument_list "(&local_1e,param_1,0)" ( (pointer_expression "&local_1e" & identifier) , identifier , number_literal ))) ;) (if_statement "if (local_1e == '\0') {\n    if (param_2 != 0) {\n      return param_1;\n    }\n    uVar1 = 4;\n    iVar2 = *(int *)(*param_1 + -0xc) + (int)param_1;\n  }\n  else {\n    iVar2 = *(int *)(*param_1 + -0xc) + (int)param_1;\n    if (param_2 == 0) {\n      uVar1 = 4;\n    }\n    else {\n                    /* try { // try from 0026c079 to 0026c07d has its CatchHandler @ 0026c102 */\n      iVar2 = FUN_00296a30(*(undefined4 *)(iVar2 + 0x78),param_2,local_1d);\n      if (iVar2 == 0) {\n        iVar2 = *(int *)(*param_1 + -0xc) + (int)param_1;\n        uVar1 = (-(uint)(local_1d[0] == '\0') & 0xfffffffe) + 6;\n      }\n      else {\n        if (local_1d[0] == '\0') {\n          return param_1;\n        }\n        uVar1 = 2;\n        iVar2 = *(int *)(*param_1 + -0xc) + (int)param_1;\n      }\n    }\n  }" if (parenthesized_expression "(local_1e == '\0')" ( (binary_expression "local_1e == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    if (param_2 != 0) {\n      return param_1;\n    }\n    uVar1 = 4;\n    iVar2 = *(int *)(*param_1 + -0xc) + (int)param_1;\n  }" { (if_statement "if (param_2 != 0) {\n      return param_1;\n    }" if (parenthesized_expression "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) )) (compound_statement "{\n      return param_1;\n    }" { (return_statement "return param_1;" return identifier ;) })) (expression_statement "uVar1 = 4;" (assignment_expression "uVar1 = 4" identifier = number_literal) ;) (expression_statement "iVar2 = *(int *)(*param_1 + -0xc) + (int)param_1;" (assignment_expression "iVar2 = *(int *)(*param_1 + -0xc) + (int)param_1" identifier = (binary_expression "*(int *)(*param_1 + -0xc) + (int)param_1" (pointer_expression "*(int *)(*param_1 + -0xc)" * (cast_expression "(int *)(*param_1 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + -0xc)" ( (binary_expression "*param_1 + -0xc" (pointer_expression "*param_1" * identifier) + number_literal) )))) + (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier))) ;) }) (else_clause "else {\n    iVar2 = *(int *)(*param_1 + -0xc) + (int)param_1;\n    if (param_2 == 0) {\n      uVar1 = 4;\n    }\n    else {\n                    /* try { // try from 0026c079 to 0026c07d has its CatchHandler @ 0026c102 */\n      iVar2 = FUN_00296a30(*(undefined4 *)(iVar2 + 0x78),param_2,local_1d);\n      if (iVar2 == 0) {\n        iVar2 = *(int *)(*param_1 + -0xc) + (int)param_1;\n        uVar1 = (-(uint)(local_1d[0] == '\0') & 0xfffffffe) + 6;\n      }\n      else {\n        if (local_1d[0] == '\0') {\n          return param_1;\n        }\n        uVar1 = 2;\n        iVar2 = *(int *)(*param_1 + -0xc) + (int)param_1;\n      }\n    }\n  }" else (compound_statement "{\n    iVar2 = *(int *)(*param_1 + -0xc) + (int)param_1;\n    if (param_2 == 0) {\n      uVar1 = 4;\n    }\n    else {\n                    /* try { // try from 0026c079 to 0026c07d has its CatchHandler @ 0026c102 */\n      iVar2 = FUN_00296a30(*(undefined4 *)(iVar2 + 0x78),param_2,local_1d);\n      if (iVar2 == 0) {\n        iVar2 = *(int *)(*param_1 + -0xc) + (int)param_1;\n        uVar1 = (-(uint)(local_1d[0] == '\0') & 0xfffffffe) + 6;\n      }\n      else {\n        if (local_1d[0] == '\0') {\n          return param_1;\n        }\n        uVar1 = 2;\n        iVar2 = *(int *)(*param_1 + -0xc) + (int)param_1;\n      }\n    }\n  }" { (expression_statement "iVar2 = *(int *)(*param_1 + -0xc) + (int)param_1;" (assignment_expression "iVar2 = *(int *)(*param_1 + -0xc) + (int)param_1" identifier = (binary_expression "*(int *)(*param_1 + -0xc) + (int)param_1" (pointer_expression "*(int *)(*param_1 + -0xc)" * (cast_expression "(int *)(*param_1 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + -0xc)" ( (binary_expression "*param_1 + -0xc" (pointer_expression "*param_1" * identifier) + number_literal) )))) + (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (if_statement "if (param_2 == 0) {\n      uVar1 = 4;\n    }\n    else {\n                    /* try { // try from 0026c079 to 0026c07d has its CatchHandler @ 0026c102 */\n      iVar2 = FUN_00296a30(*(undefined4 *)(iVar2 + 0x78),param_2,local_1d);\n      if (iVar2 == 0) {\n        iVar2 = *(int *)(*param_1 + -0xc) + (int)param_1;\n        uVar1 = (-(uint)(local_1d[0] == '\0') & 0xfffffffe) + 6;\n      }\n      else {\n        if (local_1d[0] == '\0') {\n          return param_1;\n        }\n        uVar1 = 2;\n        iVar2 = *(int *)(*param_1 + -0xc) + (int)param_1;\n      }\n    }" if (parenthesized_expression "(param_2 == 0)" ( (binary_expression "param_2 == 0" identifier == number_literal) )) (compound_statement "{\n      uVar1 = 4;\n    }" { (expression_statement "uVar1 = 4;" (assignment_expression "uVar1 = 4" identifier = number_literal) ;) }) (else_clause "else {\n                    /* try { // try from 0026c079 to 0026c07d has its CatchHandler @ 0026c102 */\n      iVar2 = FUN_00296a30(*(undefined4 *)(iVar2 + 0x78),param_2,local_1d);\n      if (iVar2 == 0) {\n        iVar2 = *(int *)(*param_1 + -0xc) + (int)param_1;\n        uVar1 = (-(uint)(local_1d[0] == '\0') & 0xfffffffe) + 6;\n      }\n      else {\n        if (local_1d[0] == '\0') {\n          return param_1;\n        }\n        uVar1 = 2;\n        iVar2 = *(int *)(*param_1 + -0xc) + (int)param_1;\n      }\n    }" else (compound_statement "{\n                    /* try { // try from 0026c079 to 0026c07d has its CatchHandler @ 0026c102 */\n      iVar2 = FUN_00296a30(*(undefined4 *)(iVar2 + 0x78),param_2,local_1d);\n      if (iVar2 == 0) {\n        iVar2 = *(int *)(*param_1 + -0xc) + (int)param_1;\n        uVar1 = (-(uint)(local_1d[0] == '\0') & 0xfffffffe) + 6;\n      }\n      else {\n        if (local_1d[0] == '\0') {\n          return param_1;\n        }\n        uVar1 = 2;\n        iVar2 = *(int *)(*param_1 + -0xc) + (int)param_1;\n      }\n    }" { comment (expression_statement "iVar2 = FUN_00296a30(*(undefined4 *)(iVar2 + 0x78),param_2,local_1d);" (assignment_expression "iVar2 = FUN_00296a30(*(undefined4 *)(iVar2 + 0x78),param_2,local_1d)" identifier = (call_expression "FUN_00296a30(*(undefined4 *)(iVar2 + 0x78),param_2,local_1d)" identifier (argument_list "(*(undefined4 *)(iVar2 + 0x78),param_2,local_1d)" ( (pointer_expression "*(undefined4 *)(iVar2 + 0x78)" * (cast_expression "(undefined4 *)(iVar2 + 0x78)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x78)" ( (binary_expression "iVar2 + 0x78" identifier + number_literal) )))) , identifier , identifier )))) ;) (if_statement "if (iVar2 == 0) {\n        iVar2 = *(int *)(*param_1 + -0xc) + (int)param_1;\n        uVar1 = (-(uint)(local_1d[0] == '\0') & 0xfffffffe) + 6;\n      }\n      else {\n        if (local_1d[0] == '\0') {\n          return param_1;\n        }\n        uVar1 = 2;\n        iVar2 = *(int *)(*param_1 + -0xc) + (int)param_1;\n      }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n        iVar2 = *(int *)(*param_1 + -0xc) + (int)param_1;\n        uVar1 = (-(uint)(local_1d[0] == '\0') & 0xfffffffe) + 6;\n      }" { (expression_statement "iVar2 = *(int *)(*param_1 + -0xc) + (int)param_1;" (assignment_expression "iVar2 = *(int *)(*param_1 + -0xc) + (int)param_1" identifier = (binary_expression "*(int *)(*param_1 + -0xc) + (int)param_1" (pointer_expression "*(int *)(*param_1 + -0xc)" * (cast_expression "(int *)(*param_1 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + -0xc)" ( (binary_expression "*param_1 + -0xc" (pointer_expression "*param_1" * identifier) + number_literal) )))) + (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "uVar1 = (-(uint)(local_1d[0] == '\0') & 0xfffffffe) + 6;" (assignment_expression "uVar1 = (-(uint)(local_1d[0] == '\0') & 0xfffffffe) + 6" identifier = (binary_expression "(-(uint)(local_1d[0] == '\0') & 0xfffffffe) + 6" (parenthesized_expression "(-(uint)(local_1d[0] == '\0') & 0xfffffffe)" ( (binary_expression "-(uint)(local_1d[0] == '\0') & 0xfffffffe" (unary_expression "-(uint)(local_1d[0] == '\0')" - (call_expression "(uint)(local_1d[0] == '\0')" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(local_1d[0] == '\0')" ( (binary_expression "local_1d[0] == '\0'" (subscript_expression "local_1d[0]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence ')) )))) & number_literal) )) + number_literal)) ;) }) (else_clause "else {\n        if (local_1d[0] == '\0') {\n          return param_1;\n        }\n        uVar1 = 2;\n        iVar2 = *(int *)(*param_1 + -0xc) + (int)param_1;\n      }" else (compound_statement "{\n        if (local_1d[0] == '\0') {\n          return param_1;\n        }\n        uVar1 = 2;\n        iVar2 = *(int *)(*param_1 + -0xc) + (int)param_1;\n      }" { (if_statement "if (local_1d[0] == '\0') {\n          return param_1;\n        }" if (parenthesized_expression "(local_1d[0] == '\0')" ( (binary_expression "local_1d[0] == '\0'" (subscript_expression "local_1d[0]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          return param_1;\n        }" { (return_statement "return param_1;" return identifier ;) })) (expression_statement "uVar1 = 2;" (assignment_expression "uVar1 = 2" identifier = number_literal) ;) (expression_statement "iVar2 = *(int *)(*param_1 + -0xc) + (int)param_1;" (assignment_expression "iVar2 = *(int *)(*param_1 + -0xc) + (int)param_1" identifier = (binary_expression "*(int *)(*param_1 + -0xc) + (int)param_1" (pointer_expression "*(int *)(*param_1 + -0xc)" * (cast_expression "(int *)(*param_1 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + -0xc)" ( (binary_expression "*param_1 + -0xc" (pointer_expression "*param_1" * identifier) + number_literal) )))) + (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier))) ;) }))) }))) }))) (expression_statement "FUN_00272070(iVar2,uVar1 | *(uint *)(iVar2 + 0x14));" (call_expression "FUN_00272070(iVar2,uVar1 | *(uint *)(iVar2 + 0x14))" identifier (argument_list "(iVar2,uVar1 | *(uint *)(iVar2 + 0x14))" ( identifier , (binary_expression "uVar1 | *(uint *)(iVar2 + 0x14)" identifier | (pointer_expression "*(uint *)(iVar2 + 0x14)" * (cast_expression "(uint *)(iVar2 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x14)" ( (binary_expression "iVar2 + 0x14" identifier + number_literal) ))))) ))) ;) (return_statement "return param_1;" return identifier ;) })))
(translation_unit "/* std::istream::TEMPNAMEPLACEHOLDERVALUE(std::streambuf*) */\n\nistream * __thiscall std::istream::operator>>(istream *this,streambuf *param_1)\n\n{\n  int iVar1;\n  istream *piVar2;\n  sentry local_1e;\n  bool local_1d [13];\n  \n  __x86_get_pc_thunk_di();\n  sentry::sentry(&local_1e,this,false);\n  if (local_1e == (sentry)0x0) {\n    if (param_1 != (streambuf *)0x0) {\n      return this;\n    }\n    piVar2 = this + *(int *)(*(int *)this + -0xc);\n  }\n  else {\n    piVar2 = this + *(int *)(*(int *)this + -0xc);\n    if (param_1 != (streambuf *)0x0) {\n                    /* try { // try from 0026c079 to 0026c07d has its CatchHandler @ 0026c102 */\n      iVar1 = __copy_streambufs_eof<char,std::char_traits<char>>\n                        (*(streambuf **)(piVar2 + 0x78),param_1,local_1d);\n      if (iVar1 == 0) {\n        piVar2 = this + *(int *)(*(int *)this + -0xc);\n      }\n      else {\n        if (local_1d[0] == false) {\n          return this;\n        }\n        piVar2 = this + *(int *)(*(int *)this + -0xc);\n      }\n    }\n  }\n  ios::clear((_Ios_Iostate)piVar2);\n  return this;\n}\n\n" comment (ERROR "istream * __thiscall std::istream::operator>>(istream *this,streambuf *param_1)" (binary_expression "istream * __thiscall std::istream::operator>>(istream *this,streambuf *param_1)" (binary_expression "istream * __thiscall" identifier * identifier) (ERROR "std::istream::operator" identifier : : identifier : : identifier) >> (parenthesized_expression "(istream *this,streambuf *param_1)" ( (comma_expression "istream *this,streambuf *param_1" (binary_expression "istream *this" identifier * identifier) , (binary_expression "streambuf *param_1" identifier * identifier)) )))) (compound_statement "{\n  int iVar1;\n  istream *piVar2;\n  sentry local_1e;\n  bool local_1d [13];\n  \n  __x86_get_pc_thunk_di();\n  sentry::sentry(&local_1e,this,false);\n  if (local_1e == (sentry)0x0) {\n    if (param_1 != (streambuf *)0x0) {\n      return this;\n    }\n    piVar2 = this + *(int *)(*(int *)this + -0xc);\n  }\n  else {\n    piVar2 = this + *(int *)(*(int *)this + -0xc);\n    if (param_1 != (streambuf *)0x0) {\n                    /* try { // try from 0026c079 to 0026c07d has its CatchHandler @ 0026c102 */\n      iVar1 = __copy_streambufs_eof<char,std::char_traits<char>>\n                        (*(streambuf **)(piVar2 + 0x78),param_1,local_1d);\n      if (iVar1 == 0) {\n        piVar2 = this + *(int *)(*(int *)this + -0xc);\n      }\n      else {\n        if (local_1d[0] == false) {\n          return this;\n        }\n        piVar2 = this + *(int *)(*(int *)this + -0xc);\n      }\n    }\n  }\n  ios::clear((_Ios_Iostate)piVar2);\n  return this;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "istream *piVar2;" type_identifier (pointer_declarator "*piVar2" * identifier) ;) (declaration "sentry local_1e;" type_identifier identifier ;) (declaration "bool local_1d [13];" primitive_type (array_declarator "local_1d [13]" identifier [ number_literal ]) ;) (expression_statement "__x86_get_pc_thunk_di();" (call_expression "__x86_get_pc_thunk_di()" identifier (argument_list "()" ( ))) ;) (labeled_statement "sentry::sentry(&local_1e,this,false);" statement_identifier : (ERROR ":" :) (expression_statement "sentry(&local_1e,this,false);" (call_expression "sentry(&local_1e,this,false)" identifier (argument_list "(&local_1e,this,false)" ( (pointer_expression "&local_1e" & identifier) , identifier , false ))) ;)) (if_statement "if (local_1e == (sentry)0x0) {\n    if (param_1 != (streambuf *)0x0) {\n      return this;\n    }\n    piVar2 = this + *(int *)(*(int *)this + -0xc);\n  }\n  else {\n    piVar2 = this + *(int *)(*(int *)this + -0xc);\n    if (param_1 != (streambuf *)0x0) {\n                    /* try { // try from 0026c079 to 0026c07d has its CatchHandler @ 0026c102 */\n      iVar1 = __copy_streambufs_eof<char,std::char_traits<char>>\n                        (*(streambuf **)(piVar2 + 0x78),param_1,local_1d);\n      if (iVar1 == 0) {\n        piVar2 = this + *(int *)(*(int *)this + -0xc);\n      }\n      else {\n        if (local_1d[0] == false) {\n          return this;\n        }\n        piVar2 = this + *(int *)(*(int *)this + -0xc);\n      }\n    }\n  }" if (parenthesized_expression "(local_1e == (sentry)0x0)" ( (binary_expression "local_1e == (sentry)0x0" identifier == (cast_expression "(sentry)0x0" ( (type_descriptor "sentry" type_identifier) ) number_literal)) )) (compound_statement "{\n    if (param_1 != (streambuf *)0x0) {\n      return this;\n    }\n    piVar2 = this + *(int *)(*(int *)this + -0xc);\n  }" { (if_statement "if (param_1 != (streambuf *)0x0) {\n      return this;\n    }" if (parenthesized_expression "(param_1 != (streambuf *)0x0)" ( (binary_expression "param_1 != (streambuf *)0x0" identifier != (cast_expression "(streambuf *)0x0" ( (type_descriptor "streambuf *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      return this;\n    }" { (return_statement "return this;" return identifier ;) })) (expression_statement "piVar2 = this + *(int *)(*(int *)this + -0xc);" (assignment_expression "piVar2 = this + *(int *)(*(int *)this + -0xc)" identifier = (binary_expression "this + *(int *)(*(int *)this + -0xc)" identifier + (pointer_expression "*(int *)(*(int *)this + -0xc)" * (cast_expression "(int *)(*(int *)this + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)this + -0xc)" ( (binary_expression "*(int *)this + -0xc" (pointer_expression "*(int *)this" * (cast_expression "(int *)this" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) )))))) ;) }) (else_clause "else {\n    piVar2 = this + *(int *)(*(int *)this + -0xc);\n    if (param_1 != (streambuf *)0x0) {\n                    /* try { // try from 0026c079 to 0026c07d has its CatchHandler @ 0026c102 */\n      iVar1 = __copy_streambufs_eof<char,std::char_traits<char>>\n                        (*(streambuf **)(piVar2 + 0x78),param_1,local_1d);\n      if (iVar1 == 0) {\n        piVar2 = this + *(int *)(*(int *)this + -0xc);\n      }\n      else {\n        if (local_1d[0] == false) {\n          return this;\n        }\n        piVar2 = this + *(int *)(*(int *)this + -0xc);\n      }\n    }\n  }" else (compound_statement "{\n    piVar2 = this + *(int *)(*(int *)this + -0xc);\n    if (param_1 != (streambuf *)0x0) {\n                    /* try { // try from 0026c079 to 0026c07d has its CatchHandler @ 0026c102 */\n      iVar1 = __copy_streambufs_eof<char,std::char_traits<char>>\n                        (*(streambuf **)(piVar2 + 0x78),param_1,local_1d);\n      if (iVar1 == 0) {\n        piVar2 = this + *(int *)(*(int *)this + -0xc);\n      }\n      else {\n        if (local_1d[0] == false) {\n          return this;\n        }\n        piVar2 = this + *(int *)(*(int *)this + -0xc);\n      }\n    }\n  }" { (expression_statement "piVar2 = this + *(int *)(*(int *)this + -0xc);" (assignment_expression "piVar2 = this + *(int *)(*(int *)this + -0xc)" identifier = (binary_expression "this + *(int *)(*(int *)this + -0xc)" identifier + (pointer_expression "*(int *)(*(int *)this + -0xc)" * (cast_expression "(int *)(*(int *)this + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)this + -0xc)" ( (binary_expression "*(int *)this + -0xc" (pointer_expression "*(int *)this" * (cast_expression "(int *)this" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) )))))) ;) (if_statement "if (param_1 != (streambuf *)0x0) {\n                    /* try { // try from 0026c079 to 0026c07d has its CatchHandler @ 0026c102 */\n      iVar1 = __copy_streambufs_eof<char,std::char_traits<char>>\n                        (*(streambuf **)(piVar2 + 0x78),param_1,local_1d);\n      if (iVar1 == 0) {\n        piVar2 = this + *(int *)(*(int *)this + -0xc);\n      }\n      else {\n        if (local_1d[0] == false) {\n          return this;\n        }\n        piVar2 = this + *(int *)(*(int *)this + -0xc);\n      }\n    }" if (parenthesized_expression "(param_1 != (streambuf *)0x0)" ( (binary_expression "param_1 != (streambuf *)0x0" identifier != (cast_expression "(streambuf *)0x0" ( (type_descriptor "streambuf *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* try { // try from 0026c079 to 0026c07d has its CatchHandler @ 0026c102 */\n      iVar1 = __copy_streambufs_eof<char,std::char_traits<char>>\n                        (*(streambuf **)(piVar2 + 0x78),param_1,local_1d);\n      if (iVar1 == 0) {\n        piVar2 = this + *(int *)(*(int *)this + -0xc);\n      }\n      else {\n        if (local_1d[0] == false) {\n          return this;\n        }\n        piVar2 = this + *(int *)(*(int *)this + -0xc);\n      }\n    }" { comment (ERROR "iVar1 = __copy_streambufs_eof<char,std::" (comma_expression "iVar1 = __copy_streambufs_eof<char,std" (assignment_expression "iVar1 = __copy_streambufs_eof<char" identifier = (binary_expression "__copy_streambufs_eof<char" identifier < identifier)) , identifier) : :) (expression_statement "char_traits<char>>\n                        (*(streambuf **)(piVar2 + 0x78),param_1,local_1d);" (binary_expression "char_traits<char>>\n                        (*(streambuf **)(piVar2 + 0x78),param_1,local_1d)" identifier < (binary_expression "char>>\n                        (*(streambuf **)(piVar2 + 0x78),param_1,local_1d)" identifier >> (parenthesized_expression "(*(streambuf **)(piVar2 + 0x78),param_1,local_1d)" ( (comma_expression "*(streambuf **)(piVar2 + 0x78),param_1,local_1d" (pointer_expression "*(streambuf **)(piVar2 + 0x78)" * (cast_expression "(streambuf **)(piVar2 + 0x78)" ( (type_descriptor "streambuf **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(piVar2 + 0x78)" ( (binary_expression "piVar2 + 0x78" identifier + number_literal) )))) , (comma_expression "param_1,local_1d" identifier , identifier)) )))) ;) (if_statement "if (iVar1 == 0) {\n        piVar2 = this + *(int *)(*(int *)this + -0xc);\n      }\n      else {\n        if (local_1d[0] == false) {\n          return this;\n        }\n        piVar2 = this + *(int *)(*(int *)this + -0xc);\n      }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n        piVar2 = this + *(int *)(*(int *)this + -0xc);\n      }" { (expression_statement "piVar2 = this + *(int *)(*(int *)this + -0xc);" (assignment_expression "piVar2 = this + *(int *)(*(int *)this + -0xc)" identifier = (binary_expression "this + *(int *)(*(int *)this + -0xc)" identifier + (pointer_expression "*(int *)(*(int *)this + -0xc)" * (cast_expression "(int *)(*(int *)this + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)this + -0xc)" ( (binary_expression "*(int *)this + -0xc" (pointer_expression "*(int *)this" * (cast_expression "(int *)this" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) )))))) ;) }) (else_clause "else {\n        if (local_1d[0] == false) {\n          return this;\n        }\n        piVar2 = this + *(int *)(*(int *)this + -0xc);\n      }" else (compound_statement "{\n        if (local_1d[0] == false) {\n          return this;\n        }\n        piVar2 = this + *(int *)(*(int *)this + -0xc);\n      }" { (if_statement "if (local_1d[0] == false) {\n          return this;\n        }" if (parenthesized_expression "(local_1d[0] == false)" ( (binary_expression "local_1d[0] == false" (subscript_expression "local_1d[0]" identifier [ number_literal ]) == false) )) (compound_statement "{\n          return this;\n        }" { (return_statement "return this;" return identifier ;) })) (expression_statement "piVar2 = this + *(int *)(*(int *)this + -0xc);" (assignment_expression "piVar2 = this + *(int *)(*(int *)this + -0xc)" identifier = (binary_expression "this + *(int *)(*(int *)this + -0xc)" identifier + (pointer_expression "*(int *)(*(int *)this + -0xc)" * (cast_expression "(int *)(*(int *)this + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)this + -0xc)" ( (binary_expression "*(int *)this + -0xc" (pointer_expression "*(int *)this" * (cast_expression "(int *)this" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) )))))) ;) }))) })) }))) (labeled_statement "ios::clear((_Ios_Iostate)piVar2);" statement_identifier : (ERROR ":" :) (expression_statement "clear((_Ios_Iostate)piVar2);" (call_expression "clear((_Ios_Iostate)piVar2)" identifier (argument_list "((_Ios_Iostate)piVar2)" ( (cast_expression "(_Ios_Iostate)piVar2" ( (type_descriptor "_Ios_Iostate" type_identifier) ) identifier) ))) ;)) (return_statement "return this;" return identifier ;) }))
(translation_unit "int * FUN_0026c030(int *param_1,int param_2)\n\n{\n  uint uVar1;\n  int iVar2;\n  char local_1e;\n  char local_1d [13];\n  \n  FUN_000b484e();\n  FUN_0026bb10(&local_1e,param_1,0);\n  if (local_1e == '\0') {\n    if (param_2 != 0) {\n      return param_1;\n    }\n    uVar1 = 4;\n    iVar2 = *(int *)(*param_1 + -0xc) + (int)param_1;\n  }\n  else {\n    iVar2 = *(int *)(*param_1 + -0xc) + (int)param_1;\n    if (param_2 == 0) {\n      uVar1 = 4;\n    }\n    else {\n                    \n      iVar2 = FUN_00296a30(*(undefined4 *)(iVar2 + 0x78),param_2,local_1d);\n      if (iVar2 == 0) {\n        iVar2 = *(int *)(*param_1 + -0xc) + (int)param_1;\n        uVar1 = (-(uint)(local_1d[0] == '\0') & 0xfffffffe) + 6;\n      }\n      else {\n        if (local_1d[0] == '\0') {\n          return param_1;\n        }\n        uVar1 = 2;\n        iVar2 = *(int *)(*param_1 + -0xc) + (int)param_1;\n      }\n    }\n  }\n  FUN_00272070(iVar2,uVar1 | *(uint *)(iVar2 + 0x14));\n  return param_1;\n}\n\n" (function_definition "int * FUN_0026c030(int *param_1,int param_2)\n\n{\n  uint uVar1;\n  int iVar2;\n  char local_1e;\n  char local_1d [13];\n  \n  FUN_000b484e();\n  FUN_0026bb10(&local_1e,param_1,0);\n  if (local_1e == '\0') {\n    if (param_2 != 0) {\n      return param_1;\n    }\n    uVar1 = 4;\n    iVar2 = *(int *)(*param_1 + -0xc) + (int)param_1;\n  }\n  else {\n    iVar2 = *(int *)(*param_1 + -0xc) + (int)param_1;\n    if (param_2 == 0) {\n      uVar1 = 4;\n    }\n    else {\n                    \n      iVar2 = FUN_00296a30(*(undefined4 *)(iVar2 + 0x78),param_2,local_1d);\n      if (iVar2 == 0) {\n        iVar2 = *(int *)(*param_1 + -0xc) + (int)param_1;\n        uVar1 = (-(uint)(local_1d[0] == '\0') & 0xfffffffe) + 6;\n      }\n      else {\n        if (local_1d[0] == '\0') {\n          return param_1;\n        }\n        uVar1 = 2;\n        iVar2 = *(int *)(*param_1 + -0xc) + (int)param_1;\n      }\n    }\n  }\n  FUN_00272070(iVar2,uVar1 | *(uint *)(iVar2 + 0x14));\n  return param_1;\n}" primitive_type (pointer_declarator "* FUN_0026c030(int *param_1,int param_2)" * (function_declarator "FUN_0026c030(int *param_1,int param_2)" identifier (parameter_list "(int *param_1,int param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) )))) (compound_statement "{\n  uint uVar1;\n  int iVar2;\n  char local_1e;\n  char local_1d [13];\n  \n  FUN_000b484e();\n  FUN_0026bb10(&local_1e,param_1,0);\n  if (local_1e == '\0') {\n    if (param_2 != 0) {\n      return param_1;\n    }\n    uVar1 = 4;\n    iVar2 = *(int *)(*param_1 + -0xc) + (int)param_1;\n  }\n  else {\n    iVar2 = *(int *)(*param_1 + -0xc) + (int)param_1;\n    if (param_2 == 0) {\n      uVar1 = 4;\n    }\n    else {\n                    \n      iVar2 = FUN_00296a30(*(undefined4 *)(iVar2 + 0x78),param_2,local_1d);\n      if (iVar2 == 0) {\n        iVar2 = *(int *)(*param_1 + -0xc) + (int)param_1;\n        uVar1 = (-(uint)(local_1d[0] == '\0') & 0xfffffffe) + 6;\n      }\n      else {\n        if (local_1d[0] == '\0') {\n          return param_1;\n        }\n        uVar1 = 2;\n        iVar2 = *(int *)(*param_1 + -0xc) + (int)param_1;\n      }\n    }\n  }\n  FUN_00272070(iVar2,uVar1 | *(uint *)(iVar2 + 0x14));\n  return param_1;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "char local_1e;" primitive_type identifier ;) (declaration "char local_1d [13];" primitive_type (array_declarator "local_1d [13]" identifier [ number_literal ]) ;) (expression_statement "FUN_000b484e();" (call_expression "FUN_000b484e()" identifier (argument_list "()" ( ))) ;) (expression_statement "FUN_0026bb10(&local_1e,param_1,0);" (call_expression "FUN_0026bb10(&local_1e,param_1,0)" identifier (argument_list "(&local_1e,param_1,0)" ( (pointer_expression "&local_1e" & identifier) , identifier , number_literal ))) ;) (if_statement "if (local_1e == '\0') {\n    if (param_2 != 0) {\n      return param_1;\n    }\n    uVar1 = 4;\n    iVar2 = *(int *)(*param_1 + -0xc) + (int)param_1;\n  }\n  else {\n    iVar2 = *(int *)(*param_1 + -0xc) + (int)param_1;\n    if (param_2 == 0) {\n      uVar1 = 4;\n    }\n    else {\n                    \n      iVar2 = FUN_00296a30(*(undefined4 *)(iVar2 + 0x78),param_2,local_1d);\n      if (iVar2 == 0) {\n        iVar2 = *(int *)(*param_1 + -0xc) + (int)param_1;\n        uVar1 = (-(uint)(local_1d[0] == '\0') & 0xfffffffe) + 6;\n      }\n      else {\n        if (local_1d[0] == '\0') {\n          return param_1;\n        }\n        uVar1 = 2;\n        iVar2 = *(int *)(*param_1 + -0xc) + (int)param_1;\n      }\n    }\n  }" if (parenthesized_expression "(local_1e == '\0')" ( (binary_expression "local_1e == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    if (param_2 != 0) {\n      return param_1;\n    }\n    uVar1 = 4;\n    iVar2 = *(int *)(*param_1 + -0xc) + (int)param_1;\n  }" { (if_statement "if (param_2 != 0) {\n      return param_1;\n    }" if (parenthesized_expression "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) )) (compound_statement "{\n      return param_1;\n    }" { (return_statement "return param_1;" return identifier ;) })) (expression_statement "uVar1 = 4;" (assignment_expression "uVar1 = 4" identifier = number_literal) ;) (expression_statement "iVar2 = *(int *)(*param_1 + -0xc) + (int)param_1;" (assignment_expression "iVar2 = *(int *)(*param_1 + -0xc) + (int)param_1" identifier = (binary_expression "*(int *)(*param_1 + -0xc) + (int)param_1" (pointer_expression "*(int *)(*param_1 + -0xc)" * (cast_expression "(int *)(*param_1 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + -0xc)" ( (binary_expression "*param_1 + -0xc" (pointer_expression "*param_1" * identifier) + number_literal) )))) + (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier))) ;) }) (else_clause "else {\n    iVar2 = *(int *)(*param_1 + -0xc) + (int)param_1;\n    if (param_2 == 0) {\n      uVar1 = 4;\n    }\n    else {\n                    \n      iVar2 = FUN_00296a30(*(undefined4 *)(iVar2 + 0x78),param_2,local_1d);\n      if (iVar2 == 0) {\n        iVar2 = *(int *)(*param_1 + -0xc) + (int)param_1;\n        uVar1 = (-(uint)(local_1d[0] == '\0') & 0xfffffffe) + 6;\n      }\n      else {\n        if (local_1d[0] == '\0') {\n          return param_1;\n        }\n        uVar1 = 2;\n        iVar2 = *(int *)(*param_1 + -0xc) + (int)param_1;\n      }\n    }\n  }" else (compound_statement "{\n    iVar2 = *(int *)(*param_1 + -0xc) + (int)param_1;\n    if (param_2 == 0) {\n      uVar1 = 4;\n    }\n    else {\n                    \n      iVar2 = FUN_00296a30(*(undefined4 *)(iVar2 + 0x78),param_2,local_1d);\n      if (iVar2 == 0) {\n        iVar2 = *(int *)(*param_1 + -0xc) + (int)param_1;\n        uVar1 = (-(uint)(local_1d[0] == '\0') & 0xfffffffe) + 6;\n      }\n      else {\n        if (local_1d[0] == '\0') {\n          return param_1;\n        }\n        uVar1 = 2;\n        iVar2 = *(int *)(*param_1 + -0xc) + (int)param_1;\n      }\n    }\n  }" { (expression_statement "iVar2 = *(int *)(*param_1 + -0xc) + (int)param_1;" (assignment_expression "iVar2 = *(int *)(*param_1 + -0xc) + (int)param_1" identifier = (binary_expression "*(int *)(*param_1 + -0xc) + (int)param_1" (pointer_expression "*(int *)(*param_1 + -0xc)" * (cast_expression "(int *)(*param_1 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + -0xc)" ( (binary_expression "*param_1 + -0xc" (pointer_expression "*param_1" * identifier) + number_literal) )))) + (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (if_statement "if (param_2 == 0) {\n      uVar1 = 4;\n    }\n    else {\n                    \n      iVar2 = FUN_00296a30(*(undefined4 *)(iVar2 + 0x78),param_2,local_1d);\n      if (iVar2 == 0) {\n        iVar2 = *(int *)(*param_1 + -0xc) + (int)param_1;\n        uVar1 = (-(uint)(local_1d[0] == '\0') & 0xfffffffe) + 6;\n      }\n      else {\n        if (local_1d[0] == '\0') {\n          return param_1;\n        }\n        uVar1 = 2;\n        iVar2 = *(int *)(*param_1 + -0xc) + (int)param_1;\n      }\n    }" if (parenthesized_expression "(param_2 == 0)" ( (binary_expression "param_2 == 0" identifier == number_literal) )) (compound_statement "{\n      uVar1 = 4;\n    }" { (expression_statement "uVar1 = 4;" (assignment_expression "uVar1 = 4" identifier = number_literal) ;) }) (else_clause "else {\n                    \n      iVar2 = FUN_00296a30(*(undefined4 *)(iVar2 + 0x78),param_2,local_1d);\n      if (iVar2 == 0) {\n        iVar2 = *(int *)(*param_1 + -0xc) + (int)param_1;\n        uVar1 = (-(uint)(local_1d[0] == '\0') & 0xfffffffe) + 6;\n      }\n      else {\n        if (local_1d[0] == '\0') {\n          return param_1;\n        }\n        uVar1 = 2;\n        iVar2 = *(int *)(*param_1 + -0xc) + (int)param_1;\n      }\n    }" else (compound_statement "{\n                    \n      iVar2 = FUN_00296a30(*(undefined4 *)(iVar2 + 0x78),param_2,local_1d);\n      if (iVar2 == 0) {\n        iVar2 = *(int *)(*param_1 + -0xc) + (int)param_1;\n        uVar1 = (-(uint)(local_1d[0] == '\0') & 0xfffffffe) + 6;\n      }\n      else {\n        if (local_1d[0] == '\0') {\n          return param_1;\n        }\n        uVar1 = 2;\n        iVar2 = *(int *)(*param_1 + -0xc) + (int)param_1;\n      }\n    }" { (expression_statement "iVar2 = FUN_00296a30(*(undefined4 *)(iVar2 + 0x78),param_2,local_1d);" (assignment_expression "iVar2 = FUN_00296a30(*(undefined4 *)(iVar2 + 0x78),param_2,local_1d)" identifier = (call_expression "FUN_00296a30(*(undefined4 *)(iVar2 + 0x78),param_2,local_1d)" identifier (argument_list "(*(undefined4 *)(iVar2 + 0x78),param_2,local_1d)" ( (pointer_expression "*(undefined4 *)(iVar2 + 0x78)" * (cast_expression "(undefined4 *)(iVar2 + 0x78)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x78)" ( (binary_expression "iVar2 + 0x78" identifier + number_literal) )))) , identifier , identifier )))) ;) (if_statement "if (iVar2 == 0) {\n        iVar2 = *(int *)(*param_1 + -0xc) + (int)param_1;\n        uVar1 = (-(uint)(local_1d[0] == '\0') & 0xfffffffe) + 6;\n      }\n      else {\n        if (local_1d[0] == '\0') {\n          return param_1;\n        }\n        uVar1 = 2;\n        iVar2 = *(int *)(*param_1 + -0xc) + (int)param_1;\n      }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n        iVar2 = *(int *)(*param_1 + -0xc) + (int)param_1;\n        uVar1 = (-(uint)(local_1d[0] == '\0') & 0xfffffffe) + 6;\n      }" { (expression_statement "iVar2 = *(int *)(*param_1 + -0xc) + (int)param_1;" (assignment_expression "iVar2 = *(int *)(*param_1 + -0xc) + (int)param_1" identifier = (binary_expression "*(int *)(*param_1 + -0xc) + (int)param_1" (pointer_expression "*(int *)(*param_1 + -0xc)" * (cast_expression "(int *)(*param_1 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + -0xc)" ( (binary_expression "*param_1 + -0xc" (pointer_expression "*param_1" * identifier) + number_literal) )))) + (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "uVar1 = (-(uint)(local_1d[0] == '\0') & 0xfffffffe) + 6;" (assignment_expression "uVar1 = (-(uint)(local_1d[0] == '\0') & 0xfffffffe) + 6" identifier = (binary_expression "(-(uint)(local_1d[0] == '\0') & 0xfffffffe) + 6" (parenthesized_expression "(-(uint)(local_1d[0] == '\0') & 0xfffffffe)" ( (binary_expression "-(uint)(local_1d[0] == '\0') & 0xfffffffe" (unary_expression "-(uint)(local_1d[0] == '\0')" - (call_expression "(uint)(local_1d[0] == '\0')" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(local_1d[0] == '\0')" ( (binary_expression "local_1d[0] == '\0'" (subscript_expression "local_1d[0]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence ')) )))) & number_literal) )) + number_literal)) ;) }) (else_clause "else {\n        if (local_1d[0] == '\0') {\n          return param_1;\n        }\n        uVar1 = 2;\n        iVar2 = *(int *)(*param_1 + -0xc) + (int)param_1;\n      }" else (compound_statement "{\n        if (local_1d[0] == '\0') {\n          return param_1;\n        }\n        uVar1 = 2;\n        iVar2 = *(int *)(*param_1 + -0xc) + (int)param_1;\n      }" { (if_statement "if (local_1d[0] == '\0') {\n          return param_1;\n        }" if (parenthesized_expression "(local_1d[0] == '\0')" ( (binary_expression "local_1d[0] == '\0'" (subscript_expression "local_1d[0]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          return param_1;\n        }" { (return_statement "return param_1;" return identifier ;) })) (expression_statement "uVar1 = 2;" (assignment_expression "uVar1 = 2" identifier = number_literal) ;) (expression_statement "iVar2 = *(int *)(*param_1 + -0xc) + (int)param_1;" (assignment_expression "iVar2 = *(int *)(*param_1 + -0xc) + (int)param_1" identifier = (binary_expression "*(int *)(*param_1 + -0xc) + (int)param_1" (pointer_expression "*(int *)(*param_1 + -0xc)" * (cast_expression "(int *)(*param_1 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + -0xc)" ( (binary_expression "*param_1 + -0xc" (pointer_expression "*param_1" * identifier) + number_literal) )))) + (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier))) ;) }))) }))) }))) (expression_statement "FUN_00272070(iVar2,uVar1 | *(uint *)(iVar2 + 0x14));" (call_expression "FUN_00272070(iVar2,uVar1 | *(uint *)(iVar2 + 0x14))" identifier (argument_list "(iVar2,uVar1 | *(uint *)(iVar2 + 0x14))" ( identifier , (binary_expression "uVar1 | *(uint *)(iVar2 + 0x14)" identifier | (pointer_expression "*(uint *)(iVar2 + 0x14)" * (cast_expression "(uint *)(iVar2 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x14)" ( (binary_expression "iVar2 + 0x14" identifier + number_literal) ))))) ))) ;) (return_statement "return param_1;" return identifier ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) )))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , IDENT , LIT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) + (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) + (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) + (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression (unary_expression - (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (subscript_expression IDENT [ LIT ]) == (char_literal ' escape_sequence ')) )))) & LIT) )) + LIT)) ;) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == (char_literal ' escape_sequence ')) )) (compound_statement { (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) + (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) }))) }))) }))) (expression_statement (call_expression IDENT (argument_list ( IDENT , (binary_expression IDENT | (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ))) ;) (return_statement return IDENT ;) })))
(function_definition "int * FUN_0026c030(int *param_1,int param_2)\n\n{\n  uint uVar1;\n  int iVar2;\n  char local_1e;\n  char local_1d [13];\n  \n  FUN_000b484e();\n  FUN_0026bb10(&local_1e,param_1,0);\n  if (local_1e == '\0') {\n    if (param_2 != 0) {\n      return param_1;\n    }\n    uVar1 = 4;\n    iVar2 = *(int *)(*param_1 + -0xc) + (int)param_1;\n  }\n  else {\n    iVar2 = *(int *)(*param_1 + -0xc) + (int)param_1;\n    if (param_2 == 0) {\n      uVar1 = 4;\n    }\n    else {\n                    \n      iVar2 = FUN_00296a30(*(undefined4 *)(iVar2 + 0x78),param_2,local_1d);\n      if (iVar2 == 0) {\n        iVar2 = *(int *)(*param_1 + -0xc) + (int)param_1;\n        uVar1 = (-(uint)(local_1d[0] == '\0') & 0xfffffffe) + 6;\n      }\n      else {\n        if (local_1d[0] == '\0') {\n          return param_1;\n        }\n        uVar1 = 2;\n        iVar2 = *(int *)(*param_1 + -0xc) + (int)param_1;\n      }\n    }\n  }\n  FUN_00272070(iVar2,uVar1 | *(uint *)(iVar2 + 0x14));\n  return param_1;\n}" (primitive_type "int") (pointer_declarator "* FUN_0026c030(int *param_1,int param_2)" (* "*") (function_declarator "FUN_0026c030(int *param_1,int param_2)" (identifier "FUN_0026c030") (parameter_list "(int *param_1,int param_2)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")")))) (compound_statement "{\n  uint uVar1;\n  int iVar2;\n  char local_1e;\n  char local_1d [13];\n  \n  FUN_000b484e();\n  FUN_0026bb10(&local_1e,param_1,0);\n  if (local_1e == '\0') {\n    if (param_2 != 0) {\n      return param_1;\n    }\n    uVar1 = 4;\n    iVar2 = *(int *)(*param_1 + -0xc) + (int)param_1;\n  }\n  else {\n    iVar2 = *(int *)(*param_1 + -0xc) + (int)param_1;\n    if (param_2 == 0) {\n      uVar1 = 4;\n    }\n    else {\n                    \n      iVar2 = FUN_00296a30(*(undefined4 *)(iVar2 + 0x78),param_2,local_1d);\n      if (iVar2 == 0) {\n        iVar2 = *(int *)(*param_1 + -0xc) + (int)param_1;\n        uVar1 = (-(uint)(local_1d[0] == '\0') & 0xfffffffe) + 6;\n      }\n      else {\n        if (local_1d[0] == '\0') {\n          return param_1;\n        }\n        uVar1 = 2;\n        iVar2 = *(int *)(*param_1 + -0xc) + (int)param_1;\n      }\n    }\n  }\n  FUN_00272070(iVar2,uVar1 | *(uint *)(iVar2 + 0x14));\n  return param_1;\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "char local_1e;" (primitive_type "char") (identifier "local_1e") (; ";")) (declaration "char local_1d [13];" (primitive_type "char") (array_declarator "local_1d [13]" (identifier "local_1d") ([ "[") (number_literal "13") (] "]")) (; ";")) (expression_statement "FUN_000b484e();" (call_expression "FUN_000b484e()" (identifier "FUN_000b484e") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "FUN_0026bb10(&local_1e,param_1,0);" (call_expression "FUN_0026bb10(&local_1e,param_1,0)" (identifier "FUN_0026bb10") (argument_list "(&local_1e,param_1,0)" (( "(") (pointer_expression "&local_1e" (& "&") (identifier "local_1e")) (, ",") (identifier "param_1") (, ",") (number_literal "0") () ")"))) (; ";")) (if_statement "if (local_1e == '\0') {\n    if (param_2 != 0) {\n      return param_1;\n    }\n    uVar1 = 4;\n    iVar2 = *(int *)(*param_1 + -0xc) + (int)param_1;\n  }\n  else {\n    iVar2 = *(int *)(*param_1 + -0xc) + (int)param_1;\n    if (param_2 == 0) {\n      uVar1 = 4;\n    }\n    else {\n                    \n      iVar2 = FUN_00296a30(*(undefined4 *)(iVar2 + 0x78),param_2,local_1d);\n      if (iVar2 == 0) {\n        iVar2 = *(int *)(*param_1 + -0xc) + (int)param_1;\n        uVar1 = (-(uint)(local_1d[0] == '\0') & 0xfffffffe) + 6;\n      }\n      else {\n        if (local_1d[0] == '\0') {\n          return param_1;\n        }\n        uVar1 = 2;\n        iVar2 = *(int *)(*param_1 + -0xc) + (int)param_1;\n      }\n    }\n  }" (if "if") (parenthesized_expression "(local_1e == '\0')" (( "(") (binary_expression "local_1e == '\0'" (identifier "local_1e") (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    if (param_2 != 0) {\n      return param_1;\n    }\n    uVar1 = 4;\n    iVar2 = *(int *)(*param_1 + -0xc) + (int)param_1;\n  }" ({ "{") (if_statement "if (param_2 != 0) {\n      return param_1;\n    }" (if "if") (parenthesized_expression "(param_2 != 0)" (( "(") (binary_expression "param_2 != 0" (identifier "param_2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      return param_1;\n    }" ({ "{") (return_statement "return param_1;" (return "return") (identifier "param_1") (; ";")) (} "}"))) (expression_statement "uVar1 = 4;" (assignment_expression "uVar1 = 4" (identifier "uVar1") (= "=") (number_literal "4")) (; ";")) (expression_statement "iVar2 = *(int *)(*param_1 + -0xc) + (int)param_1;" (assignment_expression "iVar2 = *(int *)(*param_1 + -0xc) + (int)param_1" (identifier "iVar2") (= "=") (binary_expression "*(int *)(*param_1 + -0xc) + (int)param_1" (pointer_expression "*(int *)(*param_1 + -0xc)" (* "*") (cast_expression "(int *)(*param_1 + -0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_1 + -0xc)" (( "(") (binary_expression "*param_1 + -0xc" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "-0xc")) () ")")))) (+ "+") (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")))) (; ";")) (} "}")) (else_clause "else {\n    iVar2 = *(int *)(*param_1 + -0xc) + (int)param_1;\n    if (param_2 == 0) {\n      uVar1 = 4;\n    }\n    else {\n                    \n      iVar2 = FUN_00296a30(*(undefined4 *)(iVar2 + 0x78),param_2,local_1d);\n      if (iVar2 == 0) {\n        iVar2 = *(int *)(*param_1 + -0xc) + (int)param_1;\n        uVar1 = (-(uint)(local_1d[0] == '\0') & 0xfffffffe) + 6;\n      }\n      else {\n        if (local_1d[0] == '\0') {\n          return param_1;\n        }\n        uVar1 = 2;\n        iVar2 = *(int *)(*param_1 + -0xc) + (int)param_1;\n      }\n    }\n  }" (else "else") (compound_statement "{\n    iVar2 = *(int *)(*param_1 + -0xc) + (int)param_1;\n    if (param_2 == 0) {\n      uVar1 = 4;\n    }\n    else {\n                    \n      iVar2 = FUN_00296a30(*(undefined4 *)(iVar2 + 0x78),param_2,local_1d);\n      if (iVar2 == 0) {\n        iVar2 = *(int *)(*param_1 + -0xc) + (int)param_1;\n        uVar1 = (-(uint)(local_1d[0] == '\0') & 0xfffffffe) + 6;\n      }\n      else {\n        if (local_1d[0] == '\0') {\n          return param_1;\n        }\n        uVar1 = 2;\n        iVar2 = *(int *)(*param_1 + -0xc) + (int)param_1;\n      }\n    }\n  }" ({ "{") (expression_statement "iVar2 = *(int *)(*param_1 + -0xc) + (int)param_1;" (assignment_expression "iVar2 = *(int *)(*param_1 + -0xc) + (int)param_1" (identifier "iVar2") (= "=") (binary_expression "*(int *)(*param_1 + -0xc) + (int)param_1" (pointer_expression "*(int *)(*param_1 + -0xc)" (* "*") (cast_expression "(int *)(*param_1 + -0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_1 + -0xc)" (( "(") (binary_expression "*param_1 + -0xc" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "-0xc")) () ")")))) (+ "+") (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")))) (; ";")) (if_statement "if (param_2 == 0) {\n      uVar1 = 4;\n    }\n    else {\n                    \n      iVar2 = FUN_00296a30(*(undefined4 *)(iVar2 + 0x78),param_2,local_1d);\n      if (iVar2 == 0) {\n        iVar2 = *(int *)(*param_1 + -0xc) + (int)param_1;\n        uVar1 = (-(uint)(local_1d[0] == '\0') & 0xfffffffe) + 6;\n      }\n      else {\n        if (local_1d[0] == '\0') {\n          return param_1;\n        }\n        uVar1 = 2;\n        iVar2 = *(int *)(*param_1 + -0xc) + (int)param_1;\n      }\n    }" (if "if") (parenthesized_expression "(param_2 == 0)" (( "(") (binary_expression "param_2 == 0" (identifier "param_2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      uVar1 = 4;\n    }" ({ "{") (expression_statement "uVar1 = 4;" (assignment_expression "uVar1 = 4" (identifier "uVar1") (= "=") (number_literal "4")) (; ";")) (} "}")) (else_clause "else {\n                    \n      iVar2 = FUN_00296a30(*(undefined4 *)(iVar2 + 0x78),param_2,local_1d);\n      if (iVar2 == 0) {\n        iVar2 = *(int *)(*param_1 + -0xc) + (int)param_1;\n        uVar1 = (-(uint)(local_1d[0] == '\0') & 0xfffffffe) + 6;\n      }\n      else {\n        if (local_1d[0] == '\0') {\n          return param_1;\n        }\n        uVar1 = 2;\n        iVar2 = *(int *)(*param_1 + -0xc) + (int)param_1;\n      }\n    }" (else "else") (compound_statement "{\n                    \n      iVar2 = FUN_00296a30(*(undefined4 *)(iVar2 + 0x78),param_2,local_1d);\n      if (iVar2 == 0) {\n        iVar2 = *(int *)(*param_1 + -0xc) + (int)param_1;\n        uVar1 = (-(uint)(local_1d[0] == '\0') & 0xfffffffe) + 6;\n      }\n      else {\n        if (local_1d[0] == '\0') {\n          return param_1;\n        }\n        uVar1 = 2;\n        iVar2 = *(int *)(*param_1 + -0xc) + (int)param_1;\n      }\n    }" ({ "{") (expression_statement "iVar2 = FUN_00296a30(*(undefined4 *)(iVar2 + 0x78),param_2,local_1d);" (assignment_expression "iVar2 = FUN_00296a30(*(undefined4 *)(iVar2 + 0x78),param_2,local_1d)" (identifier "iVar2") (= "=") (call_expression "FUN_00296a30(*(undefined4 *)(iVar2 + 0x78),param_2,local_1d)" (identifier "FUN_00296a30") (argument_list "(*(undefined4 *)(iVar2 + 0x78),param_2,local_1d)" (( "(") (pointer_expression "*(undefined4 *)(iVar2 + 0x78)" (* "*") (cast_expression "(undefined4 *)(iVar2 + 0x78)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x78)" (( "(") (binary_expression "iVar2 + 0x78" (identifier "iVar2") (+ "+") (number_literal "0x78")) () ")")))) (, ",") (identifier "param_2") (, ",") (identifier "local_1d") () ")")))) (; ";")) (if_statement "if (iVar2 == 0) {\n        iVar2 = *(int *)(*param_1 + -0xc) + (int)param_1;\n        uVar1 = (-(uint)(local_1d[0] == '\0') & 0xfffffffe) + 6;\n      }\n      else {\n        if (local_1d[0] == '\0') {\n          return param_1;\n        }\n        uVar1 = 2;\n        iVar2 = *(int *)(*param_1 + -0xc) + (int)param_1;\n      }" (if "if") (parenthesized_expression "(iVar2 == 0)" (( "(") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        iVar2 = *(int *)(*param_1 + -0xc) + (int)param_1;\n        uVar1 = (-(uint)(local_1d[0] == '\0') & 0xfffffffe) + 6;\n      }" ({ "{") (expression_statement "iVar2 = *(int *)(*param_1 + -0xc) + (int)param_1;" (assignment_expression "iVar2 = *(int *)(*param_1 + -0xc) + (int)param_1" (identifier "iVar2") (= "=") (binary_expression "*(int *)(*param_1 + -0xc) + (int)param_1" (pointer_expression "*(int *)(*param_1 + -0xc)" (* "*") (cast_expression "(int *)(*param_1 + -0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_1 + -0xc)" (( "(") (binary_expression "*param_1 + -0xc" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "-0xc")) () ")")))) (+ "+") (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")))) (; ";")) (expression_statement "uVar1 = (-(uint)(local_1d[0] == '\0') & 0xfffffffe) + 6;" (assignment_expression "uVar1 = (-(uint)(local_1d[0] == '\0') & 0xfffffffe) + 6" (identifier "uVar1") (= "=") (binary_expression "(-(uint)(local_1d[0] == '\0') & 0xfffffffe) + 6" (parenthesized_expression "(-(uint)(local_1d[0] == '\0') & 0xfffffffe)" (( "(") (binary_expression "-(uint)(local_1d[0] == '\0') & 0xfffffffe" (unary_expression "-(uint)(local_1d[0] == '\0')" (- "-") (call_expression "(uint)(local_1d[0] == '\0')" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(local_1d[0] == '\0')" (( "(") (binary_expression "local_1d[0] == '\0'" (subscript_expression "local_1d[0]" (identifier "local_1d") ([ "[") (number_literal "0") (] "]")) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")))) (& "&") (number_literal "0xfffffffe")) () ")")) (+ "+") (number_literal "6"))) (; ";")) (} "}")) (else_clause "else {\n        if (local_1d[0] == '\0') {\n          return param_1;\n        }\n        uVar1 = 2;\n        iVar2 = *(int *)(*param_1 + -0xc) + (int)param_1;\n      }" (else "else") (compound_statement "{\n        if (local_1d[0] == '\0') {\n          return param_1;\n        }\n        uVar1 = 2;\n        iVar2 = *(int *)(*param_1 + -0xc) + (int)param_1;\n      }" ({ "{") (if_statement "if (local_1d[0] == '\0') {\n          return param_1;\n        }" (if "if") (parenthesized_expression "(local_1d[0] == '\0')" (( "(") (binary_expression "local_1d[0] == '\0'" (subscript_expression "local_1d[0]" (identifier "local_1d") ([ "[") (number_literal "0") (] "]")) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n          return param_1;\n        }" ({ "{") (return_statement "return param_1;" (return "return") (identifier "param_1") (; ";")) (} "}"))) (expression_statement "uVar1 = 2;" (assignment_expression "uVar1 = 2" (identifier "uVar1") (= "=") (number_literal "2")) (; ";")) (expression_statement "iVar2 = *(int *)(*param_1 + -0xc) + (int)param_1;" (assignment_expression "iVar2 = *(int *)(*param_1 + -0xc) + (int)param_1" (identifier "iVar2") (= "=") (binary_expression "*(int *)(*param_1 + -0xc) + (int)param_1" (pointer_expression "*(int *)(*param_1 + -0xc)" (* "*") (cast_expression "(int *)(*param_1 + -0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_1 + -0xc)" (( "(") (binary_expression "*param_1 + -0xc" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "-0xc")) () ")")))) (+ "+") (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")))) (; ";")) (} "}")))) (} "}")))) (} "}")))) (expression_statement "FUN_00272070(iVar2,uVar1 | *(uint *)(iVar2 + 0x14));" (call_expression "FUN_00272070(iVar2,uVar1 | *(uint *)(iVar2 + 0x14))" (identifier "FUN_00272070") (argument_list "(iVar2,uVar1 | *(uint *)(iVar2 + 0x14))" (( "(") (identifier "iVar2") (, ",") (binary_expression "uVar1 | *(uint *)(iVar2 + 0x14)" (identifier "uVar1") (| "|") (pointer_expression "*(uint *)(iVar2 + 0x14)" (* "*") (cast_expression "(uint *)(iVar2 + 0x14)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x14)" (( "(") (binary_expression "iVar2 + 0x14" (identifier "iVar2") (+ "+") (number_literal "0x14")) () ")"))))) () ")"))) (; ";")) (return_statement "return param_1;" (return "return") (identifier "param_1") (; ";")) (} "}")))

/* std::istream::TEMPNAMEPLACEHOLDERVALUE(std::streambuf*) */

type_1 * __thiscall std::type_1::operator>>(type_1 *var_4,type_3 *var_3)

{
  int var_8;
  type_1 *var_7;
  type_2 var_2;
  bool local_1d [13];
  
  var_1();
  sentry::type_2(&var_2,var_4,false);
  if (var_2 == (type_2)0x0) {
    if (var_3 != (type_3 *)0x0) {
      return var_4;
    }
    var_7 = var_4 + *(int *)(*(int *)var_4 + -0xc);
  }
  else {
    var_7 = var_4 + *(int *)(*(int *)var_4 + -0xc);
    if (var_3 != (type_3 *)0x0) {
                    /* try { // try from 0026c079 to 0026c07d has its CatchHandler @ 0026c102 */
      var_8 = __copy_streambufs_eof<var_6,std::var_5<var_6>>
                        (*(type_3 **)(var_7 + 0x78),var_3,local_1d);
      if (var_8 == 0) {
        var_7 = var_4 + *(int *)(*(int *)var_4 + -0xc);
      }
      else {
        if (local_1d[0] == false) {
          return var_4;
        }
        var_7 = var_4 + *(int *)(*(int *)var_4 + -0xc);
      }
    }
  }
  ios::var_9((type_4)var_7);
  return var_4;
}


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

int * MASKED(int *param_1,int param_2)

{
  uint uVar1;
  int iVar2;
  char local_1e;
  char local_1d [13];
  
  FUN_000b484e();
  FUN_0026bb10(&local_1e,param_1,0);
  if (local_1e == '\0') {
    if (param_2 != 0) {
      return param_1;
    }
    uVar1 = 4;
    iVar2 = *(int *)(*param_1 + -0xc) + (int)param_1;
  }
  else {
    iVar2 = *(int *)(*param_1 + -0xc) + (int)param_1;
    if (param_2 == 0) {
      uVar1 = 4;
    }
    else {
                    /* try { // try from 0026c079 to 0026c07d has its CatchHandler @ 0026c102 */
      iVar2 = FUN_00296a30(*(undefined4 *)(iVar2 + 0x78),param_2,local_1d);
      if (iVar2 == 0) {
        iVar2 = *(int *)(*param_1 + -0xc) + (int)param_1;
        uVar1 = (-(uint)(local_1d[0] == '\0') & 0xfffffffe) + 6;
      }
      else {
        if (local_1d[0] == '\0') {
          return param_1;
        }
        uVar1 = 2;
        iVar2 = *(int *)(*param_1 + -0xc) + (int)param_1;
      }
    }
  }
  FUN_00272070(iVar2,uVar1 | *(uint *)(iVar2 + 0x14));
  return param_1;
}

