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

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

{
  wchar_t wVar1;
  int *piVar2;
  
  piVar2 = *(int **)(this + *(int *)(*(int *)this + -0xc) + 0x80);
  if (piVar2 != (int *)0x0) {
    wVar1 = (**(code **)(*piVar2 + 0x28))(piVar2,10);
    get(this,param_1,wVar1);
    return;
  }
  (*(code *)PTR___throw_bad_cast_004c22bc)();
  return;
}



void FUN_003627dc(wistream *param_1,wstreambuf *param_2)

{
  wchar_t wVar1;
  int *piVar2;
  
  piVar2 = *(int **)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0x80);
  if (piVar2 != (int *)0x0) {
    wVar1 = (**(code **)(*piVar2 + 0x28))(piVar2,10);
    std::wistream::get(param_1,param_2,wVar1);
    return;
  }
  (*(code *)PTR___throw_bad_cast_004c22bc)();
  return;
}


lui gp,0x16
addiu gp,gp,0x6a64
addu gp,gp,t9
lw v0,0x0(a0)
addiu sp,sp,-0x28
sw s0,0x1c(sp)
or s0,a0,zero
lw v0,-0xc(v0)
sw gp,0x10(sp)
sw ra,0x24(sp)
addu v0,a0,v0
sw s1,0x20(sp)
lw a0,0x80(v0)
beq a0,zero,0x00362850
_or s1,a1,zero
lw v0,0x0(a0)
lw t9,0x28(v0)
jalr t9
_li a1,0xa
or a1,s1,zero
lw gp,0x10(sp)
or a0,s0,zero
lw ra,0x24(sp)
or a2,v0,zero
lw s1,0x20(sp)
lw s0,0x1c(sp)
lw t9,-0x3e78(gp)
b 0x003624b0
_addiu sp,sp,0x28
lw t9,-0x6f84(gp)
jalr t9
_nop
(translation_unit "void FUN_003627dc(wistream *param_1,wstreambuf *param_2)\n\n{\n  wchar_t wVar1;\n  int *piVar2;\n  \n  piVar2 = *(int **)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0x80);\n  if (piVar2 != (int *)0x0) {\n    wVar1 = (**(code **)(*piVar2 + 0x28))(piVar2,10);\n    std::wistream::get(param_1,param_2,wVar1);\n    return;\n  }\n  (*(code *)PTR___throw_bad_cast_004c22bc)();\n  return;\n}\n\n" (function_definition "void FUN_003627dc(wistream *param_1,wstreambuf *param_2)\n\n{\n  wchar_t wVar1;\n  int *piVar2;\n  \n  piVar2 = *(int **)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0x80);\n  if (piVar2 != (int *)0x0) {\n    wVar1 = (**(code **)(*piVar2 + 0x28))(piVar2,10);\n    std::wistream::get(param_1,param_2,wVar1);\n    return;\n  }\n  (*(code *)PTR___throw_bad_cast_004c22bc)();\n  return;\n}" primitive_type (function_declarator "FUN_003627dc(wistream *param_1,wstreambuf *param_2)" identifier (parameter_list "(wistream *param_1,wstreambuf *param_2)" ( (parameter_declaration "wistream *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "wstreambuf *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  wchar_t wVar1;\n  int *piVar2;\n  \n  piVar2 = *(int **)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0x80);\n  if (piVar2 != (int *)0x0) {\n    wVar1 = (**(code **)(*piVar2 + 0x28))(piVar2,10);\n    std::wistream::get(param_1,param_2,wVar1);\n    return;\n  }\n  (*(code *)PTR___throw_bad_cast_004c22bc)();\n  return;\n}" { (declaration "wchar_t wVar1;" type_identifier identifier ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (expression_statement "piVar2 = *(int **)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0x80);" (assignment_expression "piVar2 = *(int **)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0x80)" identifier = (pointer_expression "*(int **)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0x80)" * (cast_expression "(int **)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0x80)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0x80)" ( (binary_expression "param_1 + *(int *)(*(int *)param_1 + -0xc) + 0x80" (binary_expression "param_1 + *(int *)(*(int *)param_1 + -0xc)" identifier + (pointer_expression "*(int *)(*(int *)param_1 + -0xc)" * (cast_expression "(int *)(*(int *)param_1 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)param_1 + -0xc)" ( (binary_expression "*(int *)param_1 + -0xc" (pointer_expression "*(int *)param_1" * (cast_expression "(int *)param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) ))))) + number_literal) ))))) ;) (if_statement "if (piVar2 != (int *)0x0) {\n    wVar1 = (**(code **)(*piVar2 + 0x28))(piVar2,10);\n    std::wistream::get(param_1,param_2,wVar1);\n    return;\n  }" if (parenthesized_expression "(piVar2 != (int *)0x0)" ( (binary_expression "piVar2 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    wVar1 = (**(code **)(*piVar2 + 0x28))(piVar2,10);\n    std::wistream::get(param_1,param_2,wVar1);\n    return;\n  }" { (expression_statement "wVar1 = (**(code **)(*piVar2 + 0x28))(piVar2,10);" (assignment_expression "wVar1 = (**(code **)(*piVar2 + 0x28))(piVar2,10)" identifier = (call_expression "(**(code **)(*piVar2 + 0x28))(piVar2,10)" (parenthesized_expression "(**(code **)(*piVar2 + 0x28))" ( (pointer_expression "**(code **)(*piVar2 + 0x28)" * (pointer_expression "*(code **)(*piVar2 + 0x28)" * (cast_expression "(code **)(*piVar2 + 0x28)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar2 + 0x28)" ( (binary_expression "*piVar2 + 0x28" (pointer_expression "*piVar2" * identifier) + number_literal) ))))) )) (argument_list "(piVar2,10)" ( identifier , number_literal )))) ;) (labeled_statement "std::wistream::get(param_1,param_2,wVar1);" statement_identifier : (ERROR ":" :) (labeled_statement "wistream::get(param_1,param_2,wVar1);" statement_identifier : (ERROR ":" :) (expression_statement "get(param_1,param_2,wVar1);" (call_expression "get(param_1,param_2,wVar1)" identifier (argument_list "(param_1,param_2,wVar1)" ( identifier , identifier , identifier ))) ;))) (return_statement "return;" return ;) })) (expression_statement "(*(code *)PTR___throw_bad_cast_004c22bc)();" (call_expression "(*(code *)PTR___throw_bad_cast_004c22bc)()" (parenthesized_expression "(*(code *)PTR___throw_bad_cast_004c22bc)" ( (pointer_expression "*(code *)PTR___throw_bad_cast_004c22bc" * (cast_expression "(code *)PTR___throw_bad_cast_004c22bc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* std::wistream::get(std::wstreambuf&) */\n\nvoid __thiscall std::wistream::get(wistream *this,wstreambuf *param_1)\n\n{\n  wchar_t wVar1;\n  int *piVar2;\n  \n  piVar2 = *(int **)(this + *(int *)(*(int *)this + -0xc) + 0x80);\n  if (piVar2 != (int *)0x0) {\n    wVar1 = (**(code **)(*piVar2 + 0x28))(piVar2,10);\n    get(this,param_1,wVar1);\n    return;\n  }\n  (*(code *)PTR___throw_bad_cast_004c22bc)();\n  return;\n}\n\n" comment (function_definition "void __thiscall std::wistream::get(wistream *this,wstreambuf *param_1)\n\n{\n  wchar_t wVar1;\n  int *piVar2;\n  \n  piVar2 = *(int **)(this + *(int *)(*(int *)this + -0xc) + 0x80);\n  if (piVar2 != (int *)0x0) {\n    wVar1 = (**(code **)(*piVar2 + 0x28))(piVar2,10);\n    get(this,param_1,wVar1);\n    return;\n  }\n  (*(code *)PTR___throw_bad_cast_004c22bc)();\n  return;\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  wchar_t wVar1;\n  int *piVar2;\n  \n  piVar2 = *(int **)(this + *(int *)(*(int *)this + -0xc) + 0x80);\n  if (piVar2 != (int *)0x0) {\n    wVar1 = (**(code **)(*piVar2 + 0x28))(piVar2,10);\n    get(this,param_1,wVar1);\n    return;\n  }\n  (*(code *)PTR___throw_bad_cast_004c22bc)();\n  return;\n}" { (declaration "wchar_t wVar1;" type_identifier identifier ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (expression_statement "piVar2 = *(int **)(this + *(int *)(*(int *)this + -0xc) + 0x80);" (assignment_expression "piVar2 = *(int **)(this + *(int *)(*(int *)this + -0xc) + 0x80)" identifier = (pointer_expression "*(int **)(this + *(int *)(*(int *)this + -0xc) + 0x80)" * (cast_expression "(int **)(this + *(int *)(*(int *)this + -0xc) + 0x80)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + *(int *)(*(int *)this + -0xc) + 0x80)" ( (binary_expression "this + *(int *)(*(int *)this + -0xc) + 0x80" (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) ))))) + number_literal) ))))) ;) (if_statement "if (piVar2 != (int *)0x0) {\n    wVar1 = (**(code **)(*piVar2 + 0x28))(piVar2,10);\n    get(this,param_1,wVar1);\n    return;\n  }" if (parenthesized_expression "(piVar2 != (int *)0x0)" ( (binary_expression "piVar2 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    wVar1 = (**(code **)(*piVar2 + 0x28))(piVar2,10);\n    get(this,param_1,wVar1);\n    return;\n  }" { (expression_statement "wVar1 = (**(code **)(*piVar2 + 0x28))(piVar2,10);" (assignment_expression "wVar1 = (**(code **)(*piVar2 + 0x28))(piVar2,10)" identifier = (call_expression "(**(code **)(*piVar2 + 0x28))(piVar2,10)" (parenthesized_expression "(**(code **)(*piVar2 + 0x28))" ( (pointer_expression "**(code **)(*piVar2 + 0x28)" * (pointer_expression "*(code **)(*piVar2 + 0x28)" * (cast_expression "(code **)(*piVar2 + 0x28)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar2 + 0x28)" ( (binary_expression "*piVar2 + 0x28" (pointer_expression "*piVar2" * identifier) + number_literal) ))))) )) (argument_list "(piVar2,10)" ( identifier , number_literal )))) ;) (expression_statement "get(this,param_1,wVar1);" (call_expression "get(this,param_1,wVar1)" identifier (argument_list "(this,param_1,wVar1)" ( identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })) (expression_statement "(*(code *)PTR___throw_bad_cast_004c22bc)();" (call_expression "(*(code *)PTR___throw_bad_cast_004c22bc)()" (parenthesized_expression "(*(code *)PTR___throw_bad_cast_004c22bc)" ( (pointer_expression "*(code *)PTR___throw_bad_cast_004c22bc" * (cast_expression "(code *)PTR___throw_bad_cast_004c22bc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_003627dc(wistream *param_1,wstreambuf *param_2)\n\n{\n  wchar_t wVar1;\n  int *piVar2;\n  \n  piVar2 = *(int **)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0x80);\n  if (piVar2 != (int *)0x0) {\n    wVar1 = (**(code **)(*piVar2 + 0x28))(piVar2,10);\n    std::wistream::get(param_1,param_2,wVar1);\n    return;\n  }\n  (*(code *)PTR___throw_bad_cast_004c22bc)();\n  return;\n}\n\n" (function_definition "void FUN_003627dc(wistream *param_1,wstreambuf *param_2)\n\n{\n  wchar_t wVar1;\n  int *piVar2;\n  \n  piVar2 = *(int **)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0x80);\n  if (piVar2 != (int *)0x0) {\n    wVar1 = (**(code **)(*piVar2 + 0x28))(piVar2,10);\n    std::wistream::get(param_1,param_2,wVar1);\n    return;\n  }\n  (*(code *)PTR___throw_bad_cast_004c22bc)();\n  return;\n}" primitive_type (function_declarator "FUN_003627dc(wistream *param_1,wstreambuf *param_2)" identifier (parameter_list "(wistream *param_1,wstreambuf *param_2)" ( (parameter_declaration "wistream *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "wstreambuf *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  wchar_t wVar1;\n  int *piVar2;\n  \n  piVar2 = *(int **)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0x80);\n  if (piVar2 != (int *)0x0) {\n    wVar1 = (**(code **)(*piVar2 + 0x28))(piVar2,10);\n    std::wistream::get(param_1,param_2,wVar1);\n    return;\n  }\n  (*(code *)PTR___throw_bad_cast_004c22bc)();\n  return;\n}" { (declaration "wchar_t wVar1;" type_identifier identifier ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (expression_statement "piVar2 = *(int **)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0x80);" (assignment_expression "piVar2 = *(int **)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0x80)" identifier = (pointer_expression "*(int **)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0x80)" * (cast_expression "(int **)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0x80)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0x80)" ( (binary_expression "param_1 + *(int *)(*(int *)param_1 + -0xc) + 0x80" (binary_expression "param_1 + *(int *)(*(int *)param_1 + -0xc)" identifier + (pointer_expression "*(int *)(*(int *)param_1 + -0xc)" * (cast_expression "(int *)(*(int *)param_1 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)param_1 + -0xc)" ( (binary_expression "*(int *)param_1 + -0xc" (pointer_expression "*(int *)param_1" * (cast_expression "(int *)param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) ))))) + number_literal) ))))) ;) (if_statement "if (piVar2 != (int *)0x0) {\n    wVar1 = (**(code **)(*piVar2 + 0x28))(piVar2,10);\n    std::wistream::get(param_1,param_2,wVar1);\n    return;\n  }" if (parenthesized_expression "(piVar2 != (int *)0x0)" ( (binary_expression "piVar2 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    wVar1 = (**(code **)(*piVar2 + 0x28))(piVar2,10);\n    std::wistream::get(param_1,param_2,wVar1);\n    return;\n  }" { (expression_statement "wVar1 = (**(code **)(*piVar2 + 0x28))(piVar2,10);" (assignment_expression "wVar1 = (**(code **)(*piVar2 + 0x28))(piVar2,10)" identifier = (call_expression "(**(code **)(*piVar2 + 0x28))(piVar2,10)" (parenthesized_expression "(**(code **)(*piVar2 + 0x28))" ( (pointer_expression "**(code **)(*piVar2 + 0x28)" * (pointer_expression "*(code **)(*piVar2 + 0x28)" * (cast_expression "(code **)(*piVar2 + 0x28)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar2 + 0x28)" ( (binary_expression "*piVar2 + 0x28" (pointer_expression "*piVar2" * identifier) + number_literal) ))))) )) (argument_list "(piVar2,10)" ( identifier , number_literal )))) ;) (labeled_statement "std::wistream::get(param_1,param_2,wVar1);" statement_identifier : (ERROR ":" :) (labeled_statement "wistream::get(param_1,param_2,wVar1);" statement_identifier : (ERROR ":" :) (expression_statement "get(param_1,param_2,wVar1);" (call_expression "get(param_1,param_2,wVar1)" identifier (argument_list "(param_1,param_2,wVar1)" ( identifier , identifier , identifier ))) ;))) (return_statement "return;" return ;) })) (expression_statement "(*(code *)PTR___throw_bad_cast_004c22bc)();" (call_expression "(*(code *)PTR___throw_bad_cast_004c22bc)()" (parenthesized_expression "(*(code *)PTR___throw_bad_cast_004c22bc)" ( (pointer_expression "*(code *)PTR___throw_bad_cast_004c22bc" * (cast_expression "(code *)PTR___throw_bad_cast_004c22bc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) + LIT) ))))) + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (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 )))) ;) (labeled_statement statement_identifier : (ERROR :) (labeled_statement statement_identifier : (ERROR :) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT ))) ;))) (return_statement return ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) (return_statement return ;) })))
(function_definition "void FUN_003627dc(wistream *param_1,wstreambuf *param_2)\n\n{\n  wchar_t wVar1;\n  int *piVar2;\n  \n  piVar2 = *(int **)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0x80);\n  if (piVar2 != (int *)0x0) {\n    wVar1 = (**(code **)(*piVar2 + 0x28))(piVar2,10);\n    std::wistream::get(param_1,param_2,wVar1);\n    return;\n  }\n  (*(code *)PTR___throw_bad_cast_004c22bc)();\n  return;\n}" (primitive_type "void") (function_declarator "FUN_003627dc(wistream *param_1,wstreambuf *param_2)" (identifier "FUN_003627dc") (parameter_list "(wistream *param_1,wstreambuf *param_2)" (( "(") (parameter_declaration "wistream *param_1" (type_identifier "wistream") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "wstreambuf *param_2" (type_identifier "wstreambuf") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  wchar_t wVar1;\n  int *piVar2;\n  \n  piVar2 = *(int **)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0x80);\n  if (piVar2 != (int *)0x0) {\n    wVar1 = (**(code **)(*piVar2 + 0x28))(piVar2,10);\n    std::wistream::get(param_1,param_2,wVar1);\n    return;\n  }\n  (*(code *)PTR___throw_bad_cast_004c22bc)();\n  return;\n}" ({ "{") (declaration "wchar_t wVar1;" (type_identifier "wchar_t") (identifier "wVar1") (; ";")) (declaration "int *piVar2;" (primitive_type "int") (pointer_declarator "*piVar2" (* "*") (identifier "piVar2")) (; ";")) (expression_statement "piVar2 = *(int **)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0x80);" (assignment_expression "piVar2 = *(int **)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0x80)" (identifier "piVar2") (= "=") (pointer_expression "*(int **)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0x80)" (* "*") (cast_expression "(int **)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0x80)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0x80)" (( "(") (binary_expression "param_1 + *(int *)(*(int *)param_1 + -0xc) + 0x80" (binary_expression "param_1 + *(int *)(*(int *)param_1 + -0xc)" (identifier "param_1") (+ "+") (pointer_expression "*(int *)(*(int *)param_1 + -0xc)" (* "*") (cast_expression "(int *)(*(int *)param_1 + -0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)param_1 + -0xc)" (( "(") (binary_expression "*(int *)param_1 + -0xc" (pointer_expression "*(int *)param_1" (* "*") (cast_expression "(int *)param_1" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "param_1"))) (+ "+") (number_literal "-0xc")) () ")"))))) (+ "+") (number_literal "0x80")) () ")"))))) (; ";")) (if_statement "if (piVar2 != (int *)0x0) {\n    wVar1 = (**(code **)(*piVar2 + 0x28))(piVar2,10);\n    std::wistream::get(param_1,param_2,wVar1);\n    return;\n  }" (if "if") (parenthesized_expression "(piVar2 != (int *)0x0)" (( "(") (binary_expression "piVar2 != (int *)0x0" (identifier "piVar2") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    wVar1 = (**(code **)(*piVar2 + 0x28))(piVar2,10);\n    std::wistream::get(param_1,param_2,wVar1);\n    return;\n  }" ({ "{") (expression_statement "wVar1 = (**(code **)(*piVar2 + 0x28))(piVar2,10);" (assignment_expression "wVar1 = (**(code **)(*piVar2 + 0x28))(piVar2,10)" (identifier "wVar1") (= "=") (call_expression "(**(code **)(*piVar2 + 0x28))(piVar2,10)" (parenthesized_expression "(**(code **)(*piVar2 + 0x28))" (( "(") (pointer_expression "**(code **)(*piVar2 + 0x28)" (* "*") (pointer_expression "*(code **)(*piVar2 + 0x28)" (* "*") (cast_expression "(code **)(*piVar2 + 0x28)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*piVar2 + 0x28)" (( "(") (binary_expression "*piVar2 + 0x28" (pointer_expression "*piVar2" (* "*") (identifier "piVar2")) (+ "+") (number_literal "0x28")) () ")"))))) () ")")) (argument_list "(piVar2,10)" (( "(") (identifier "piVar2") (, ",") (number_literal "10") () ")")))) (; ";")) (labeled_statement "std::wistream::get(param_1,param_2,wVar1);" (statement_identifier "std") (: ":") (ERROR ":" (: ":")) (labeled_statement "wistream::get(param_1,param_2,wVar1);" (statement_identifier "wistream") (: ":") (ERROR ":" (: ":")) (expression_statement "get(param_1,param_2,wVar1);" (call_expression "get(param_1,param_2,wVar1)" (identifier "get") (argument_list "(param_1,param_2,wVar1)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") (, ",") (identifier "wVar1") () ")"))) (; ";")))) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "(*(code *)PTR___throw_bad_cast_004c22bc)();" (call_expression "(*(code *)PTR___throw_bad_cast_004c22bc)()" (parenthesized_expression "(*(code *)PTR___throw_bad_cast_004c22bc)" (( "(") (pointer_expression "*(code *)PTR___throw_bad_cast_004c22bc" (* "*") (cast_expression "(code *)PTR___throw_bad_cast_004c22bc" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___throw_bad_cast_004c22bc"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))) right: (number_literal)))))) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) 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))))) (labeled_statement label: (statement_identifier) (ERROR) (labeled_statement label: (statement_identifier) (ERROR) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier)))))) (return_statement))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list))) (return_statement))))

void MASKED(wistream *param_1,wstreambuf *param_2)

{
  wchar_t wVar1;
  int *piVar2;
  
  piVar2 = *(int **)(param_1 + *(int *)(*(int *)param_1 + -0xc) + 0x80);
  if (piVar2 != (int *)0x0) {
    wVar1 = (**(code **)(*piVar2 + 0x28))(piVar2,10);
    std::wistream::get(param_1,param_2,wVar1);
    return;
  }
  (*(code *)PTR___throw_bad_cast_004c22bc)();
  return;
}

