
/* std::wistream::get(std::wstreambuf&) */

void __thiscall std::wistream::get(wistream *this,wstreambuf *param_1)

{
  long *plVar1;
  wchar_t wVar2;
  
  plVar1 = *(long **)(this + *(long *)(*(long *)this + -0x18) + 0xf0);
  if (plVar1 != (long *)0x0) {
    wVar2 = (**(code **)(*plVar1 + 0x50))(plVar1,10);
    get(this,param_1,wVar2);
    return;
  }
                    /* WARNING: Subroutine does not return */
  __throw_bad_cast();
}



void FUN_002c6780(long *param_1,undefined8 param_2)

{
  long *plVar1;
  undefined4 uVar2;
  
  plVar1 = *(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xf0);
  if (plVar1 != (long *)0x0) {
    uVar2 = (**(code **)(*plVar1 + 0x50))(plVar1,10);
    FUN_002c6560(param_1,param_2,uVar2);
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_002e1170();
}


PUSH RBP
PUSH RBX
MOV RBX,RDI
SUB RSP,0x8
MOV RAX,qword ptr [RDI]
MOV RAX,qword ptr [RAX + -0x18]
MOV RDI,qword ptr [RDI + RAX*0x1 + 0xf0]
TEST RDI,RDI
JZ 0x002c67be
MOV RAX,qword ptr [RDI]
MOV RBP,RSI
MOV ESI,0xa
CALL qword ptr [RAX + 0x50]
ADD RSP,0x8
MOV RSI,RBP
MOV RDI,RBX
MOV EDX,EAX
POP RBX
POP RBP
JMP 0x002c6560
CALL 0x002e1170
(translation_unit "void FUN_002c6780(long *param_1,undefined8 param_2)\n\n{\n  long *plVar1;\n  undefined4 uVar2;\n  \n  plVar1 = *(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xf0);\n  if (plVar1 != (long *)0x0) {\n    uVar2 = (**(code **)(*plVar1 + 0x50))(plVar1,10);\n    FUN_002c6560(param_1,param_2,uVar2);\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_002e1170();\n}\n\n" (function_definition "void FUN_002c6780(long *param_1,undefined8 param_2)\n\n{\n  long *plVar1;\n  undefined4 uVar2;\n  \n  plVar1 = *(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xf0);\n  if (plVar1 != (long *)0x0) {\n    uVar2 = (**(code **)(*plVar1 + 0x50))(plVar1,10);\n    FUN_002c6560(param_1,param_2,uVar2);\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_002e1170();\n}" primitive_type (function_declarator "FUN_002c6780(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  undefined4 uVar2;\n  \n  plVar1 = *(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xf0);\n  if (plVar1 != (long *)0x0) {\n    uVar2 = (**(code **)(*plVar1 + 0x50))(plVar1,10);\n    FUN_002c6560(param_1,param_2,uVar2);\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_002e1170();\n}" { (declaration "long *plVar1;" (sized_type_specifier "long" long) (pointer_declarator "*plVar1" * identifier) ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (expression_statement "plVar1 = *(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xf0);" (assignment_expression "plVar1 = *(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xf0)" identifier = (pointer_expression "*(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xf0)" * (cast_expression "(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xf0)" ( (type_descriptor "long **" (sized_type_specifier "long" long) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((long)param_1 + *(long *)(*param_1 + -0x18) + 0xf0)" ( (binary_expression "(long)param_1 + *(long *)(*param_1 + -0x18) + 0xf0" (binary_expression "(long)param_1 + *(long *)(*param_1 + -0x18)" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + (pointer_expression "*(long *)(*param_1 + -0x18)" * (cast_expression "(long *)(*param_1 + -0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + -0x18)" ( (binary_expression "*param_1 + -0x18" (pointer_expression "*param_1" * identifier) + number_literal) ))))) + number_literal) ))))) ;) (if_statement "if (plVar1 != (long *)0x0) {\n    uVar2 = (**(code **)(*plVar1 + 0x50))(plVar1,10);\n    FUN_002c6560(param_1,param_2,uVar2);\n    return;\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    uVar2 = (**(code **)(*plVar1 + 0x50))(plVar1,10);\n    FUN_002c6560(param_1,param_2,uVar2);\n    return;\n  }" { (expression_statement "uVar2 = (**(code **)(*plVar1 + 0x50))(plVar1,10);" (assignment_expression "uVar2 = (**(code **)(*plVar1 + 0x50))(plVar1,10)" identifier = (call_expression "(**(code **)(*plVar1 + 0x50))(plVar1,10)" (parenthesized_expression "(**(code **)(*plVar1 + 0x50))" ( (pointer_expression "**(code **)(*plVar1 + 0x50)" * (pointer_expression "*(code **)(*plVar1 + 0x50)" * (cast_expression "(code **)(*plVar1 + 0x50)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*plVar1 + 0x50)" ( (binary_expression "*plVar1 + 0x50" (pointer_expression "*plVar1" * identifier) + number_literal) ))))) )) (argument_list "(plVar1,10)" ( identifier , number_literal )))) ;) (expression_statement "FUN_002c6560(param_1,param_2,uVar2);" (call_expression "FUN_002c6560(param_1,param_2,uVar2)" identifier (argument_list "(param_1,param_2,uVar2)" ( identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })) comment (expression_statement "FUN_002e1170();" (call_expression "FUN_002e1170()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "/* std::wistream::get(std::wstreambuf&) */\n\nvoid __thiscall std::wistream::get(wistream *this,wstreambuf *param_1)\n\n{\n  long *plVar1;\n  wchar_t wVar2;\n  \n  plVar1 = *(long **)(this + *(long *)(*(long *)this + -0x18) + 0xf0);\n  if (plVar1 != (long *)0x0) {\n    wVar2 = (**(code **)(*plVar1 + 0x50))(plVar1,10);\n    get(this,param_1,wVar2);\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  __throw_bad_cast();\n}\n\n" comment (function_definition "void __thiscall std::wistream::get(wistream *this,wstreambuf *param_1)\n\n{\n  long *plVar1;\n  wchar_t wVar2;\n  \n  plVar1 = *(long **)(this + *(long *)(*(long *)this + -0x18) + 0xf0);\n  if (plVar1 != (long *)0x0) {\n    wVar2 = (**(code **)(*plVar1 + 0x50))(plVar1,10);\n    get(this,param_1,wVar2);\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  __throw_bad_cast();\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::wistream::" identifier : : identifier : :) (function_declarator "get(wistream *this,wstreambuf *param_1)" identifier (parameter_list "(wistream *this,wstreambuf *param_1)" ( (parameter_declaration "wistream *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "wstreambuf *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  long *plVar1;\n  wchar_t wVar2;\n  \n  plVar1 = *(long **)(this + *(long *)(*(long *)this + -0x18) + 0xf0);\n  if (plVar1 != (long *)0x0) {\n    wVar2 = (**(code **)(*plVar1 + 0x50))(plVar1,10);\n    get(this,param_1,wVar2);\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  __throw_bad_cast();\n}" { (declaration "long *plVar1;" (sized_type_specifier "long" long) (pointer_declarator "*plVar1" * identifier) ;) (declaration "wchar_t wVar2;" type_identifier identifier ;) (expression_statement "plVar1 = *(long **)(this + *(long *)(*(long *)this + -0x18) + 0xf0);" (assignment_expression "plVar1 = *(long **)(this + *(long *)(*(long *)this + -0x18) + 0xf0)" identifier = (pointer_expression "*(long **)(this + *(long *)(*(long *)this + -0x18) + 0xf0)" * (cast_expression "(long **)(this + *(long *)(*(long *)this + -0x18) + 0xf0)" ( (type_descriptor "long **" (sized_type_specifier "long" long) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + *(long *)(*(long *)this + -0x18) + 0xf0)" ( (binary_expression "this + *(long *)(*(long *)this + -0x18) + 0xf0" (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) ))))) ;) (if_statement "if (plVar1 != (long *)0x0) {\n    wVar2 = (**(code **)(*plVar1 + 0x50))(plVar1,10);\n    get(this,param_1,wVar2);\n    return;\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    wVar2 = (**(code **)(*plVar1 + 0x50))(plVar1,10);\n    get(this,param_1,wVar2);\n    return;\n  }" { (expression_statement "wVar2 = (**(code **)(*plVar1 + 0x50))(plVar1,10);" (assignment_expression "wVar2 = (**(code **)(*plVar1 + 0x50))(plVar1,10)" identifier = (call_expression "(**(code **)(*plVar1 + 0x50))(plVar1,10)" (parenthesized_expression "(**(code **)(*plVar1 + 0x50))" ( (pointer_expression "**(code **)(*plVar1 + 0x50)" * (pointer_expression "*(code **)(*plVar1 + 0x50)" * (cast_expression "(code **)(*plVar1 + 0x50)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*plVar1 + 0x50)" ( (binary_expression "*plVar1 + 0x50" (pointer_expression "*plVar1" * identifier) + number_literal) ))))) )) (argument_list "(plVar1,10)" ( identifier , number_literal )))) ;) (expression_statement "get(this,param_1,wVar2);" (call_expression "get(this,param_1,wVar2)" identifier (argument_list "(this,param_1,wVar2)" ( identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })) comment (expression_statement "__throw_bad_cast();" (call_expression "__throw_bad_cast()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "void FUN_002c6780(long *param_1,undefined8 param_2)\n\n{\n  long *plVar1;\n  undefined4 uVar2;\n  \n  plVar1 = *(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xf0);\n  if (plVar1 != (long *)0x0) {\n    uVar2 = (**(code **)(*plVar1 + 0x50))(plVar1,10);\n    FUN_002c6560(param_1,param_2,uVar2);\n    return;\n  }\n                    \n  FUN_002e1170();\n}\n\n" (function_definition "void FUN_002c6780(long *param_1,undefined8 param_2)\n\n{\n  long *plVar1;\n  undefined4 uVar2;\n  \n  plVar1 = *(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xf0);\n  if (plVar1 != (long *)0x0) {\n    uVar2 = (**(code **)(*plVar1 + 0x50))(plVar1,10);\n    FUN_002c6560(param_1,param_2,uVar2);\n    return;\n  }\n                    \n  FUN_002e1170();\n}" primitive_type (function_declarator "FUN_002c6780(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  undefined4 uVar2;\n  \n  plVar1 = *(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xf0);\n  if (plVar1 != (long *)0x0) {\n    uVar2 = (**(code **)(*plVar1 + 0x50))(plVar1,10);\n    FUN_002c6560(param_1,param_2,uVar2);\n    return;\n  }\n                    \n  FUN_002e1170();\n}" { (declaration "long *plVar1;" (sized_type_specifier "long" long) (pointer_declarator "*plVar1" * identifier) ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (expression_statement "plVar1 = *(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xf0);" (assignment_expression "plVar1 = *(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xf0)" identifier = (pointer_expression "*(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xf0)" * (cast_expression "(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xf0)" ( (type_descriptor "long **" (sized_type_specifier "long" long) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((long)param_1 + *(long *)(*param_1 + -0x18) + 0xf0)" ( (binary_expression "(long)param_1 + *(long *)(*param_1 + -0x18) + 0xf0" (binary_expression "(long)param_1 + *(long *)(*param_1 + -0x18)" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + (pointer_expression "*(long *)(*param_1 + -0x18)" * (cast_expression "(long *)(*param_1 + -0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + -0x18)" ( (binary_expression "*param_1 + -0x18" (pointer_expression "*param_1" * identifier) + number_literal) ))))) + number_literal) ))))) ;) (if_statement "if (plVar1 != (long *)0x0) {\n    uVar2 = (**(code **)(*plVar1 + 0x50))(plVar1,10);\n    FUN_002c6560(param_1,param_2,uVar2);\n    return;\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    uVar2 = (**(code **)(*plVar1 + 0x50))(plVar1,10);\n    FUN_002c6560(param_1,param_2,uVar2);\n    return;\n  }" { (expression_statement "uVar2 = (**(code **)(*plVar1 + 0x50))(plVar1,10);" (assignment_expression "uVar2 = (**(code **)(*plVar1 + 0x50))(plVar1,10)" identifier = (call_expression "(**(code **)(*plVar1 + 0x50))(plVar1,10)" (parenthesized_expression "(**(code **)(*plVar1 + 0x50))" ( (pointer_expression "**(code **)(*plVar1 + 0x50)" * (pointer_expression "*(code **)(*plVar1 + 0x50)" * (cast_expression "(code **)(*plVar1 + 0x50)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*plVar1 + 0x50)" ( (binary_expression "*plVar1 + 0x50" (pointer_expression "*plVar1" * identifier) + number_literal) ))))) )) (argument_list "(plVar1,10)" ( identifier , number_literal )))) ;) (expression_statement "FUN_002c6560(param_1,param_2,uVar2);" (call_expression "FUN_002c6560(param_1,param_2,uVar2)" identifier (argument_list "(param_1,param_2,uVar2)" ( identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })) (expression_statement "FUN_002e1170();" (call_expression "FUN_002e1170()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit (function_definition TYPE (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 TYPE 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 (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) )) (argument_list ( IDENT , LIT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT ))) ;) (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })))
(function_definition "void FUN_002c6780(long *param_1,undefined8 param_2)\n\n{\n  long *plVar1;\n  undefined4 uVar2;\n  \n  plVar1 = *(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xf0);\n  if (plVar1 != (long *)0x0) {\n    uVar2 = (**(code **)(*plVar1 + 0x50))(plVar1,10);\n    FUN_002c6560(param_1,param_2,uVar2);\n    return;\n  }\n                    \n  FUN_002e1170();\n}" (primitive_type "void") (function_declarator "FUN_002c6780(long *param_1,undefined8 param_2)" (identifier "FUN_002c6780") (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  undefined4 uVar2;\n  \n  plVar1 = *(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xf0);\n  if (plVar1 != (long *)0x0) {\n    uVar2 = (**(code **)(*plVar1 + 0x50))(plVar1,10);\n    FUN_002c6560(param_1,param_2,uVar2);\n    return;\n  }\n                    \n  FUN_002e1170();\n}" ({ "{") (declaration "long *plVar1;" (sized_type_specifier "long" (long "long")) (pointer_declarator "*plVar1" (* "*") (identifier "plVar1")) (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (expression_statement "plVar1 = *(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xf0);" (assignment_expression "plVar1 = *(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xf0)" (identifier "plVar1") (= "=") (pointer_expression "*(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xf0)" (* "*") (cast_expression "(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xf0)" (( "(") (type_descriptor "long **" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "((long)param_1 + *(long *)(*param_1 + -0x18) + 0xf0)" (( "(") (binary_expression "(long)param_1 + *(long *)(*param_1 + -0x18) + 0xf0" (binary_expression "(long)param_1 + *(long *)(*param_1 + -0x18)" (cast_expression "(long)param_1" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_1")) (+ "+") (pointer_expression "*(long *)(*param_1 + -0x18)" (* "*") (cast_expression "(long *)(*param_1 + -0x18)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_1 + -0x18)" (( "(") (binary_expression "*param_1 + -0x18" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "-0x18")) () ")"))))) (+ "+") (number_literal "0xf0")) () ")"))))) (; ";")) (if_statement "if (plVar1 != (long *)0x0) {\n    uVar2 = (**(code **)(*plVar1 + 0x50))(plVar1,10);\n    FUN_002c6560(param_1,param_2,uVar2);\n    return;\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    uVar2 = (**(code **)(*plVar1 + 0x50))(plVar1,10);\n    FUN_002c6560(param_1,param_2,uVar2);\n    return;\n  }" ({ "{") (expression_statement "uVar2 = (**(code **)(*plVar1 + 0x50))(plVar1,10);" (assignment_expression "uVar2 = (**(code **)(*plVar1 + 0x50))(plVar1,10)" (identifier "uVar2") (= "=") (call_expression "(**(code **)(*plVar1 + 0x50))(plVar1,10)" (parenthesized_expression "(**(code **)(*plVar1 + 0x50))" (( "(") (pointer_expression "**(code **)(*plVar1 + 0x50)" (* "*") (pointer_expression "*(code **)(*plVar1 + 0x50)" (* "*") (cast_expression "(code **)(*plVar1 + 0x50)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*plVar1 + 0x50)" (( "(") (binary_expression "*plVar1 + 0x50" (pointer_expression "*plVar1" (* "*") (identifier "plVar1")) (+ "+") (number_literal "0x50")) () ")"))))) () ")")) (argument_list "(plVar1,10)" (( "(") (identifier "plVar1") (, ",") (number_literal "10") () ")")))) (; ";")) (expression_statement "FUN_002c6560(param_1,param_2,uVar2);" (call_expression "FUN_002c6560(param_1,param_2,uVar2)" (identifier "FUN_002c6560") (argument_list "(param_1,param_2,uVar2)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") (, ",") (identifier "uVar2") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "FUN_002e1170();" (call_expression "FUN_002e1170()" (identifier "FUN_002e1170") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))

/* std::wistream::get(std::wstreambuf&) */

void __thiscall std::type_1::function_1(type_1 *var_1,type_2 *param_1)

{
  long *var_2;
  type_3 wVar2;
  
  var_2 = *(long **)(var_1 + *(long *)(*(long *)var_1 + -0x18) + 0xf0);
  if (var_2 != (long *)0x0) {
    wVar2 = (**(type_4 **)(*var_2 + 0x50))(var_2,10);
    function_1(var_1,param_1,wVar2);
    return;
  }
                    /* WARNING: Subroutine does not return */
  var_3();
}


(translation_unit (function_definition type: (primitive_type) 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: (type_identifier) declarator: (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: (binary_expression left: (cast_expression type: (type_descriptor type: (sized_type_specifier)) value: (identifier)) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal)))))) right: (number_literal))))))) (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 (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 (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier)))) (return_statement))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))))))

void MASKED(long *param_1,undefined8 param_2)

{
  long *plVar1;
  undefined4 uVar2;
  
  plVar1 = *(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xf0);
  if (plVar1 != (long *)0x0) {
    uVar2 = (**(code **)(*plVar1 + 0x50))(plVar1,10);
    FUN_002c6560(param_1,param_2,uVar2);
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_002e1170();
}

