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

void __thiscall std::istream::istream(istream *this,streambuf *param_1)

{
  int unaff_EDI;
  
  __x86_get_pc_thunk_di();
  ios_base::ios_base((ios_base *)(this + 8));
  *(undefined4 *)(this + 0x78) = 0;
  *(undefined2 *)(this + 0x7c) = 0;
  *(undefined4 *)(this + 0x80) = 0;
  *(undefined4 *)(this + 0x84) = 0;
  *(undefined4 *)(this + 0x88) = 0;
  *(undefined4 *)(this + 0x8c) = 0;
  *(int *)this = unaff_EDI + 0x15bc0b;
  *(int *)(this + 8) = unaff_EDI + 0x15bc1f;
  *(undefined4 *)(this + 4) = 0;
                    /* try { // try from 001a3baa to 001a3bae has its CatchHandler @ 001a3bba */
  ios::init((ios *)(this + 8),param_1);
  return;
}



void FUN_001a3b30(int *param_1,undefined4 param_2)

{
  int unaff_EDI;
  
  FUN_0004fb7e();
  FUN_001c5690(param_1 + 2);
  param_1[0x1e] = 0;
  *(undefined2 *)(param_1 + 0x1f) = 0;
  param_1[0x20] = 0;
  param_1[0x21] = 0;
  param_1[0x22] = 0;
  param_1[0x23] = 0;
  *param_1 = unaff_EDI + 0x15bc0b;
  param_1[2] = unaff_EDI + 0x15bc1f;
  param_1[1] = 0;
                    /* try { // try from 001a3baa to 001a3bae has its CatchHandler @ 001a3bba */
  FUN_001aae40(param_1 + 2,param_2);
  return;
}


PUSH EBP
MOV EBP,ESP
PUSH EDI
CALL 0x0004fb7e
ADD EDI,0x15e4c7
PUSH ESI
PUSH EBX
SUB ESP,0x28
MOV ESI,dword ptr [EBP + 0x8]
LEA EAX,[ESI + 0x8]
MOV EBX,EDI
PUSH EAX
MOV dword ptr [EBP + -0x1c],EAX
CALL 0x001c5690
XOR EAX,EAX
MOV dword ptr [ESI + 0x78],0x0
MOV word ptr [ESI + 0x7c],AX
LEA EAX,[EDI + 0xffffd738]
MOV dword ptr [ESI + 0x80],0x0
LEA EDX,[EAX + 0xc]
ADD EAX,0x20
MOV dword ptr [ESI + 0x84],0x0
MOV dword ptr [ESI + 0x88],0x0
MOV dword ptr [ESI + 0x8c],0x0
MOV dword ptr [ESI],EDX
MOV dword ptr [ESI + 0x8],EAX
MOV dword ptr [ESI + 0x4],0x0
POP EDX
POP ECX
PUSH dword ptr [EBP + 0xc]
PUSH dword ptr [EBP + -0x1c]
CALL 0x001aae40
ADD ESP,0x10
LEA ESP,[EBP + -0xc]
POP EBX
POP ESI
POP EDI
POP EBP
RET
(translation_unit "void FUN_001a3b30(int *param_1,undefined4 param_2)\n\n{\n  int unaff_EDI;\n  \n  FUN_0004fb7e();\n  FUN_001c5690(param_1 + 2);\n  param_1[0x1e] = 0;\n  *(undefined2 *)(param_1 + 0x1f) = 0;\n  param_1[0x20] = 0;\n  param_1[0x21] = 0;\n  param_1[0x22] = 0;\n  param_1[0x23] = 0;\n  *param_1 = unaff_EDI + 0x15bc0b;\n  param_1[2] = unaff_EDI + 0x15bc1f;\n  param_1[1] = 0;\n                    /* try { // try from 001a3baa to 001a3bae has its CatchHandler @ 001a3bba */\n  FUN_001aae40(param_1 + 2,param_2);\n  return;\n}\n\n" (function_definition "void FUN_001a3b30(int *param_1,undefined4 param_2)\n\n{\n  int unaff_EDI;\n  \n  FUN_0004fb7e();\n  FUN_001c5690(param_1 + 2);\n  param_1[0x1e] = 0;\n  *(undefined2 *)(param_1 + 0x1f) = 0;\n  param_1[0x20] = 0;\n  param_1[0x21] = 0;\n  param_1[0x22] = 0;\n  param_1[0x23] = 0;\n  *param_1 = unaff_EDI + 0x15bc0b;\n  param_1[2] = unaff_EDI + 0x15bc1f;\n  param_1[1] = 0;\n                    /* try { // try from 001a3baa to 001a3bae has its CatchHandler @ 001a3bba */\n  FUN_001aae40(param_1 + 2,param_2);\n  return;\n}" primitive_type (function_declarator "FUN_001a3b30(int *param_1,undefined4 param_2)" identifier (parameter_list "(int *param_1,undefined4 param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  int unaff_EDI;\n  \n  FUN_0004fb7e();\n  FUN_001c5690(param_1 + 2);\n  param_1[0x1e] = 0;\n  *(undefined2 *)(param_1 + 0x1f) = 0;\n  param_1[0x20] = 0;\n  param_1[0x21] = 0;\n  param_1[0x22] = 0;\n  param_1[0x23] = 0;\n  *param_1 = unaff_EDI + 0x15bc0b;\n  param_1[2] = unaff_EDI + 0x15bc1f;\n  param_1[1] = 0;\n                    /* try { // try from 001a3baa to 001a3bae has its CatchHandler @ 001a3bba */\n  FUN_001aae40(param_1 + 2,param_2);\n  return;\n}" { (declaration "int unaff_EDI;" primitive_type identifier ;) (expression_statement "FUN_0004fb7e();" (call_expression "FUN_0004fb7e()" identifier (argument_list "()" ( ))) ;) (expression_statement "FUN_001c5690(param_1 + 2);" (call_expression "FUN_001c5690(param_1 + 2)" identifier (argument_list "(param_1 + 2)" ( (binary_expression "param_1 + 2" identifier + number_literal) ))) ;) (expression_statement "param_1[0x1e] = 0;" (assignment_expression "param_1[0x1e] = 0" (subscript_expression "param_1[0x1e]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined2 *)(param_1 + 0x1f) = 0;" (assignment_expression "*(undefined2 *)(param_1 + 0x1f) = 0" (pointer_expression "*(undefined2 *)(param_1 + 0x1f)" * (cast_expression "(undefined2 *)(param_1 + 0x1f)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1f)" ( (binary_expression "param_1 + 0x1f" identifier + number_literal) )))) = number_literal) ;) (expression_statement "param_1[0x20] = 0;" (assignment_expression "param_1[0x20] = 0" (subscript_expression "param_1[0x20]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[0x21] = 0;" (assignment_expression "param_1[0x21] = 0" (subscript_expression "param_1[0x21]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[0x22] = 0;" (assignment_expression "param_1[0x22] = 0" (subscript_expression "param_1[0x22]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[0x23] = 0;" (assignment_expression "param_1[0x23] = 0" (subscript_expression "param_1[0x23]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*param_1 = unaff_EDI + 0x15bc0b;" (assignment_expression "*param_1 = unaff_EDI + 0x15bc0b" (pointer_expression "*param_1" * identifier) = (binary_expression "unaff_EDI + 0x15bc0b" identifier + number_literal)) ;) (expression_statement "param_1[2] = unaff_EDI + 0x15bc1f;" (assignment_expression "param_1[2] = unaff_EDI + 0x15bc1f" (subscript_expression "param_1[2]" identifier [ number_literal ]) = (binary_expression "unaff_EDI + 0x15bc1f" identifier + number_literal)) ;) (expression_statement "param_1[1] = 0;" (assignment_expression "param_1[1] = 0" (subscript_expression "param_1[1]" identifier [ number_literal ]) = number_literal) ;) comment (expression_statement "FUN_001aae40(param_1 + 2,param_2);" (call_expression "FUN_001aae40(param_1 + 2,param_2)" identifier (argument_list "(param_1 + 2,param_2)" ( (binary_expression "param_1 + 2" identifier + number_literal) , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* std::istream::istream(std::streambuf*) */\n\nvoid __thiscall std::istream::istream(istream *this,streambuf *param_1)\n\n{\n  int unaff_EDI;\n  \n  __x86_get_pc_thunk_di();\n  ios_base::ios_base((ios_base *)(this + 8));\n  *(undefined4 *)(this + 0x78) = 0;\n  *(undefined2 *)(this + 0x7c) = 0;\n  *(undefined4 *)(this + 0x80) = 0;\n  *(undefined4 *)(this + 0x84) = 0;\n  *(undefined4 *)(this + 0x88) = 0;\n  *(undefined4 *)(this + 0x8c) = 0;\n  *(int *)this = unaff_EDI + 0x15bc0b;\n  *(int *)(this + 8) = unaff_EDI + 0x15bc1f;\n  *(undefined4 *)(this + 4) = 0;\n                    /* try { // try from 001a3baa to 001a3bae has its CatchHandler @ 001a3bba */\n  ios::init((ios *)(this + 8),param_1);\n  return;\n}\n\n" comment (function_definition "void __thiscall std::istream::istream(istream *this,streambuf *param_1)\n\n{\n  int unaff_EDI;\n  \n  __x86_get_pc_thunk_di();\n  ios_base::ios_base((ios_base *)(this + 8));\n  *(undefined4 *)(this + 0x78) = 0;\n  *(undefined2 *)(this + 0x7c) = 0;\n  *(undefined4 *)(this + 0x80) = 0;\n  *(undefined4 *)(this + 0x84) = 0;\n  *(undefined4 *)(this + 0x88) = 0;\n  *(undefined4 *)(this + 0x8c) = 0;\n  *(int *)this = unaff_EDI + 0x15bc0b;\n  *(int *)(this + 8) = unaff_EDI + 0x15bc1f;\n  *(undefined4 *)(this + 4) = 0;\n                    /* try { // try from 001a3baa to 001a3bae has its CatchHandler @ 001a3bba */\n  ios::init((ios *)(this + 8),param_1);\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::istream::" identifier : : identifier : :) (function_declarator "istream(istream *this,streambuf *param_1)" identifier (parameter_list "(istream *this,streambuf *param_1)" ( (parameter_declaration "istream *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "streambuf *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  int unaff_EDI;\n  \n  __x86_get_pc_thunk_di();\n  ios_base::ios_base((ios_base *)(this + 8));\n  *(undefined4 *)(this + 0x78) = 0;\n  *(undefined2 *)(this + 0x7c) = 0;\n  *(undefined4 *)(this + 0x80) = 0;\n  *(undefined4 *)(this + 0x84) = 0;\n  *(undefined4 *)(this + 0x88) = 0;\n  *(undefined4 *)(this + 0x8c) = 0;\n  *(int *)this = unaff_EDI + 0x15bc0b;\n  *(int *)(this + 8) = unaff_EDI + 0x15bc1f;\n  *(undefined4 *)(this + 4) = 0;\n                    /* try { // try from 001a3baa to 001a3bae has its CatchHandler @ 001a3bba */\n  ios::init((ios *)(this + 8),param_1);\n  return;\n}" { (declaration "int unaff_EDI;" primitive_type identifier ;) (expression_statement "__x86_get_pc_thunk_di();" (call_expression "__x86_get_pc_thunk_di()" identifier (argument_list "()" ( ))) ;) (labeled_statement "ios_base::ios_base((ios_base *)(this + 8));" statement_identifier : (ERROR ":" :) (expression_statement "ios_base((ios_base *)(this + 8));" (call_expression "ios_base((ios_base *)(this + 8))" identifier (argument_list "((ios_base *)(this + 8))" ( (cast_expression "(ios_base *)(this + 8)" ( (type_descriptor "ios_base *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) ))) ))) ;)) (expression_statement "*(undefined4 *)(this + 0x78) = 0;" (assignment_expression "*(undefined4 *)(this + 0x78) = 0" (pointer_expression "*(undefined4 *)(this + 0x78)" * (cast_expression "(undefined4 *)(this + 0x78)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x78)" ( (binary_expression "this + 0x78" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined2 *)(this + 0x7c) = 0;" (assignment_expression "*(undefined2 *)(this + 0x7c) = 0" (pointer_expression "*(undefined2 *)(this + 0x7c)" * (cast_expression "(undefined2 *)(this + 0x7c)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x7c)" ( (binary_expression "this + 0x7c" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(this + 0x80) = 0;" (assignment_expression "*(undefined4 *)(this + 0x80) = 0" (pointer_expression "*(undefined4 *)(this + 0x80)" * (cast_expression "(undefined4 *)(this + 0x80)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x80)" ( (binary_expression "this + 0x80" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(this + 0x84) = 0;" (assignment_expression "*(undefined4 *)(this + 0x84) = 0" (pointer_expression "*(undefined4 *)(this + 0x84)" * (cast_expression "(undefined4 *)(this + 0x84)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x84)" ( (binary_expression "this + 0x84" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(this + 0x88) = 0;" (assignment_expression "*(undefined4 *)(this + 0x88) = 0" (pointer_expression "*(undefined4 *)(this + 0x88)" * (cast_expression "(undefined4 *)(this + 0x88)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x88)" ( (binary_expression "this + 0x88" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(this + 0x8c) = 0;" (assignment_expression "*(undefined4 *)(this + 0x8c) = 0" (pointer_expression "*(undefined4 *)(this + 0x8c)" * (cast_expression "(undefined4 *)(this + 0x8c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x8c)" ( (binary_expression "this + 0x8c" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(int *)this = unaff_EDI + 0x15bc0b;" (assignment_expression "*(int *)this = unaff_EDI + 0x15bc0b" (pointer_expression "*(int *)this" * (cast_expression "(int *)this" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) = (binary_expression "unaff_EDI + 0x15bc0b" identifier + number_literal)) ;) (expression_statement "*(int *)(this + 8) = unaff_EDI + 0x15bc1f;" (assignment_expression "*(int *)(this + 8) = unaff_EDI + 0x15bc1f" (pointer_expression "*(int *)(this + 8)" * (cast_expression "(int *)(this + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) )))) = (binary_expression "unaff_EDI + 0x15bc1f" identifier + number_literal)) ;) (expression_statement "*(undefined4 *)(this + 4) = 0;" (assignment_expression "*(undefined4 *)(this + 4) = 0" (pointer_expression "*(undefined4 *)(this + 4)" * (cast_expression "(undefined4 *)(this + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 4)" ( (binary_expression "this + 4" identifier + number_literal) )))) = number_literal) ;) comment (labeled_statement "ios::init((ios *)(this + 8),param_1);" statement_identifier : (ERROR ":" :) (expression_statement "init((ios *)(this + 8),param_1);" (call_expression "init((ios *)(this + 8),param_1)" identifier (argument_list "((ios *)(this + 8),param_1)" ( (cast_expression "(ios *)(this + 8)" ( (type_descriptor "ios *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) ))) , identifier ))) ;)) (return_statement "return;" return ;) })))
(translation_unit "void FUN_001a3b30(int *param_1,undefined4 param_2)\n\n{\n  int unaff_EDI;\n  \n  FUN_0004fb7e();\n  FUN_001c5690(param_1 + 2);\n  param_1[0x1e] = 0;\n  *(undefined2 *)(param_1 + 0x1f) = 0;\n  param_1[0x20] = 0;\n  param_1[0x21] = 0;\n  param_1[0x22] = 0;\n  param_1[0x23] = 0;\n  *param_1 = unaff_EDI + 0x15bc0b;\n  param_1[2] = unaff_EDI + 0x15bc1f;\n  param_1[1] = 0;\n                    \n  FUN_001aae40(param_1 + 2,param_2);\n  return;\n}\n\n" (function_definition "void FUN_001a3b30(int *param_1,undefined4 param_2)\n\n{\n  int unaff_EDI;\n  \n  FUN_0004fb7e();\n  FUN_001c5690(param_1 + 2);\n  param_1[0x1e] = 0;\n  *(undefined2 *)(param_1 + 0x1f) = 0;\n  param_1[0x20] = 0;\n  param_1[0x21] = 0;\n  param_1[0x22] = 0;\n  param_1[0x23] = 0;\n  *param_1 = unaff_EDI + 0x15bc0b;\n  param_1[2] = unaff_EDI + 0x15bc1f;\n  param_1[1] = 0;\n                    \n  FUN_001aae40(param_1 + 2,param_2);\n  return;\n}" primitive_type (function_declarator "FUN_001a3b30(int *param_1,undefined4 param_2)" identifier (parameter_list "(int *param_1,undefined4 param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  int unaff_EDI;\n  \n  FUN_0004fb7e();\n  FUN_001c5690(param_1 + 2);\n  param_1[0x1e] = 0;\n  *(undefined2 *)(param_1 + 0x1f) = 0;\n  param_1[0x20] = 0;\n  param_1[0x21] = 0;\n  param_1[0x22] = 0;\n  param_1[0x23] = 0;\n  *param_1 = unaff_EDI + 0x15bc0b;\n  param_1[2] = unaff_EDI + 0x15bc1f;\n  param_1[1] = 0;\n                    \n  FUN_001aae40(param_1 + 2,param_2);\n  return;\n}" { (declaration "int unaff_EDI;" primitive_type identifier ;) (expression_statement "FUN_0004fb7e();" (call_expression "FUN_0004fb7e()" identifier (argument_list "()" ( ))) ;) (expression_statement "FUN_001c5690(param_1 + 2);" (call_expression "FUN_001c5690(param_1 + 2)" identifier (argument_list "(param_1 + 2)" ( (binary_expression "param_1 + 2" identifier + number_literal) ))) ;) (expression_statement "param_1[0x1e] = 0;" (assignment_expression "param_1[0x1e] = 0" (subscript_expression "param_1[0x1e]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined2 *)(param_1 + 0x1f) = 0;" (assignment_expression "*(undefined2 *)(param_1 + 0x1f) = 0" (pointer_expression "*(undefined2 *)(param_1 + 0x1f)" * (cast_expression "(undefined2 *)(param_1 + 0x1f)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1f)" ( (binary_expression "param_1 + 0x1f" identifier + number_literal) )))) = number_literal) ;) (expression_statement "param_1[0x20] = 0;" (assignment_expression "param_1[0x20] = 0" (subscript_expression "param_1[0x20]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[0x21] = 0;" (assignment_expression "param_1[0x21] = 0" (subscript_expression "param_1[0x21]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[0x22] = 0;" (assignment_expression "param_1[0x22] = 0" (subscript_expression "param_1[0x22]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[0x23] = 0;" (assignment_expression "param_1[0x23] = 0" (subscript_expression "param_1[0x23]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*param_1 = unaff_EDI + 0x15bc0b;" (assignment_expression "*param_1 = unaff_EDI + 0x15bc0b" (pointer_expression "*param_1" * identifier) = (binary_expression "unaff_EDI + 0x15bc0b" identifier + number_literal)) ;) (expression_statement "param_1[2] = unaff_EDI + 0x15bc1f;" (assignment_expression "param_1[2] = unaff_EDI + 0x15bc1f" (subscript_expression "param_1[2]" identifier [ number_literal ]) = (binary_expression "unaff_EDI + 0x15bc1f" identifier + number_literal)) ;) (expression_statement "param_1[1] = 0;" (assignment_expression "param_1[1] = 0" (subscript_expression "param_1[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "FUN_001aae40(param_1 + 2,param_2);" (call_expression "FUN_001aae40(param_1 + 2,param_2)" identifier (argument_list "(param_1 + 2,param_2)" ( (binary_expression "param_1 + 2" identifier + number_literal) , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) ))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , IDENT ))) ;) (return_statement return ;) })))
(function_definition "void FUN_001a3b30(int *param_1,undefined4 param_2)\n\n{\n  int unaff_EDI;\n  \n  FUN_0004fb7e();\n  FUN_001c5690(param_1 + 2);\n  param_1[0x1e] = 0;\n  *(undefined2 *)(param_1 + 0x1f) = 0;\n  param_1[0x20] = 0;\n  param_1[0x21] = 0;\n  param_1[0x22] = 0;\n  param_1[0x23] = 0;\n  *param_1 = unaff_EDI + 0x15bc0b;\n  param_1[2] = unaff_EDI + 0x15bc1f;\n  param_1[1] = 0;\n                    \n  FUN_001aae40(param_1 + 2,param_2);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_001a3b30(int *param_1,undefined4 param_2)" (identifier "FUN_001a3b30") (parameter_list "(int *param_1,undefined4 param_2)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) () ")"))) (compound_statement "{\n  int unaff_EDI;\n  \n  FUN_0004fb7e();\n  FUN_001c5690(param_1 + 2);\n  param_1[0x1e] = 0;\n  *(undefined2 *)(param_1 + 0x1f) = 0;\n  param_1[0x20] = 0;\n  param_1[0x21] = 0;\n  param_1[0x22] = 0;\n  param_1[0x23] = 0;\n  *param_1 = unaff_EDI + 0x15bc0b;\n  param_1[2] = unaff_EDI + 0x15bc1f;\n  param_1[1] = 0;\n                    \n  FUN_001aae40(param_1 + 2,param_2);\n  return;\n}" ({ "{") (declaration "int unaff_EDI;" (primitive_type "int") (identifier "unaff_EDI") (; ";")) (expression_statement "FUN_0004fb7e();" (call_expression "FUN_0004fb7e()" (identifier "FUN_0004fb7e") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "FUN_001c5690(param_1 + 2);" (call_expression "FUN_001c5690(param_1 + 2)" (identifier "FUN_001c5690") (argument_list "(param_1 + 2)" (( "(") (binary_expression "param_1 + 2" (identifier "param_1") (+ "+") (number_literal "2")) () ")"))) (; ";")) (expression_statement "param_1[0x1e] = 0;" (assignment_expression "param_1[0x1e] = 0" (subscript_expression "param_1[0x1e]" (identifier "param_1") ([ "[") (number_literal "0x1e") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined2 *)(param_1 + 0x1f) = 0;" (assignment_expression "*(undefined2 *)(param_1 + 0x1f) = 0" (pointer_expression "*(undefined2 *)(param_1 + 0x1f)" (* "*") (cast_expression "(undefined2 *)(param_1 + 0x1f)" (( "(") (type_descriptor "undefined2 *" (type_identifier "undefined2") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1f)" (( "(") (binary_expression "param_1 + 0x1f" (identifier "param_1") (+ "+") (number_literal "0x1f")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1[0x20] = 0;" (assignment_expression "param_1[0x20] = 0" (subscript_expression "param_1[0x20]" (identifier "param_1") ([ "[") (number_literal "0x20") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1[0x21] = 0;" (assignment_expression "param_1[0x21] = 0" (subscript_expression "param_1[0x21]" (identifier "param_1") ([ "[") (number_literal "0x21") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1[0x22] = 0;" (assignment_expression "param_1[0x22] = 0" (subscript_expression "param_1[0x22]" (identifier "param_1") ([ "[") (number_literal "0x22") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1[0x23] = 0;" (assignment_expression "param_1[0x23] = 0" (subscript_expression "param_1[0x23]" (identifier "param_1") ([ "[") (number_literal "0x23") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*param_1 = unaff_EDI + 0x15bc0b;" (assignment_expression "*param_1 = unaff_EDI + 0x15bc0b" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (binary_expression "unaff_EDI + 0x15bc0b" (identifier "unaff_EDI") (+ "+") (number_literal "0x15bc0b"))) (; ";")) (expression_statement "param_1[2] = unaff_EDI + 0x15bc1f;" (assignment_expression "param_1[2] = unaff_EDI + 0x15bc1f" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (= "=") (binary_expression "unaff_EDI + 0x15bc1f" (identifier "unaff_EDI") (+ "+") (number_literal "0x15bc1f"))) (; ";")) (expression_statement "param_1[1] = 0;" (assignment_expression "param_1[1] = 0" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "FUN_001aae40(param_1 + 2,param_2);" (call_expression "FUN_001aae40(param_1 + 2,param_2)" (identifier "FUN_001aae40") (argument_list "(param_1 + 2,param_2)" (( "(") (binary_expression "param_1 + 2" (identifier "param_1") (+ "+") (number_literal "2")) (, ",") (identifier "param_2") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

void __thiscall std::function_1::function_1(function_1 *var_3,type_1 *param_1)

{
  int var_4;
  
  var_1();
  ios_base::var_2((var_2 *)(var_3 + 8));
  *(type_2 *)(var_3 + 0x78) = 0;
  *(type_3 *)(var_3 + 0x7c) = 0;
  *(type_2 *)(var_3 + 0x80) = 0;
  *(type_2 *)(var_3 + 0x84) = 0;
  *(type_2 *)(var_3 + 0x88) = 0;
  *(type_2 *)(var_3 + 0x8c) = 0;
  *(int *)var_3 = var_4 + 0x15bc0b;
  *(int *)(var_3 + 8) = var_4 + 0x15bc1f;
  *(type_2 *)(var_3 + 4) = 0;
                    /* try { // try from 001a3baa to 001a3bae has its CatchHandler @ 001a3bba */
  ios::var_5((type_4 *)(var_3 + 8),param_1);
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (identifier)))) (return_statement))))

void MASKED(int *param_1,undefined4 param_2)

{
  int unaff_EDI;
  
  FUN_0004fb7e();
  FUN_001c5690(param_1 + 2);
  param_1[0x1e] = 0;
  *(undefined2 *)(param_1 + 0x1f) = 0;
  param_1[0x20] = 0;
  param_1[0x21] = 0;
  param_1[0x22] = 0;
  param_1[0x23] = 0;
  *param_1 = unaff_EDI + 0x15bc0b;
  param_1[2] = unaff_EDI + 0x15bc1f;
  param_1[1] = 0;
                    /* try { // try from 001a3baa to 001a3bae has its CatchHandler @ 001a3bba */
  FUN_001aae40(param_1 + 2,param_2);
  return;
}

