
/* std::ios::ios(std::streambuf*) */

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

{
  int unaff_EDI;
  
  __x86_get_pc_thunk_di();
  ios_base::ios_base((ios_base *)this);
  *(undefined4 *)(this + 0x70) = 0;
  *(undefined2 *)(this + 0x74) = 0;
  *(undefined4 *)(this + 0x78) = 0;
  *(int *)this = unaff_EDI + 0x154907;
  *(undefined4 *)(this + 0x7c) = 0;
  *(undefined4 *)(this + 0x80) = 0;
  *(undefined4 *)(this + 0x84) = 0;
                    /* try { // try from 001aaeff to 001aaf03 has its CatchHandler @ 001aaf0f */
  init(this,param_1);
  return;
}



void FUN_001aaea0(int *param_1,undefined4 param_2)

{
  int unaff_EDI;
  
  FUN_0004fb7e();
  FUN_001c5690(param_1);
  param_1[0x1c] = 0;
  *(undefined2 *)(param_1 + 0x1d) = 0;
  param_1[0x1e] = 0;
  *param_1 = unaff_EDI + 0x154907;
  param_1[0x1f] = 0;
  param_1[0x20] = 0;
  param_1[0x21] = 0;
                    /* try { // try from 001aaeff to 001aaf03 has its CatchHandler @ 001aaf0f */
  FUN_001aae40(param_1,param_2);
  return;
}


PUSH EBP
MOV EBP,ESP
PUSH EDI
CALL 0x0004fb7e
ADD EDI,0x157157
PUSH ESI
PUSH EBX
SUB ESP,0x28
MOV ESI,dword ptr [EBP + 0x8]
PUSH ESI
MOV EBX,EDI
CALL 0x001c5690
LEA EAX,[EDI + 0xffffd7a8]
XOR EDX,EDX
MOV dword ptr [ESI + 0x70],0x0
MOV word ptr [ESI + 0x74],DX
ADD EAX,0x8
MOV dword ptr [ESI + 0x78],0x0
MOV dword ptr [ESI],EAX
MOV dword ptr [ESI + 0x7c],0x0
MOV dword ptr [ESI + 0x80],0x0
MOV dword ptr [ESI + 0x84],0x0
POP ECX
POP EAX
PUSH dword ptr [EBP + 0xc]
PUSH ESI
CALL 0x001aae40
ADD ESP,0x10
LEA ESP,[EBP + -0xc]
POP EBX
POP ESI
POP EDI
POP EBP
RET
(translation_unit "void FUN_001aaea0(int *param_1,undefined4 param_2)\n\n{\n  int unaff_EDI;\n  \n  FUN_0004fb7e();\n  FUN_001c5690(param_1);\n  param_1[0x1c] = 0;\n  *(undefined2 *)(param_1 + 0x1d) = 0;\n  param_1[0x1e] = 0;\n  *param_1 = unaff_EDI + 0x154907;\n  param_1[0x1f] = 0;\n  param_1[0x20] = 0;\n  param_1[0x21] = 0;\n                    /* try { // try from 001aaeff to 001aaf03 has its CatchHandler @ 001aaf0f */\n  FUN_001aae40(param_1,param_2);\n  return;\n}\n\n" (function_definition "void FUN_001aaea0(int *param_1,undefined4 param_2)\n\n{\n  int unaff_EDI;\n  \n  FUN_0004fb7e();\n  FUN_001c5690(param_1);\n  param_1[0x1c] = 0;\n  *(undefined2 *)(param_1 + 0x1d) = 0;\n  param_1[0x1e] = 0;\n  *param_1 = unaff_EDI + 0x154907;\n  param_1[0x1f] = 0;\n  param_1[0x20] = 0;\n  param_1[0x21] = 0;\n                    /* try { // try from 001aaeff to 001aaf03 has its CatchHandler @ 001aaf0f */\n  FUN_001aae40(param_1,param_2);\n  return;\n}" primitive_type (function_declarator "FUN_001aaea0(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);\n  param_1[0x1c] = 0;\n  *(undefined2 *)(param_1 + 0x1d) = 0;\n  param_1[0x1e] = 0;\n  *param_1 = unaff_EDI + 0x154907;\n  param_1[0x1f] = 0;\n  param_1[0x20] = 0;\n  param_1[0x21] = 0;\n                    /* try { // try from 001aaeff to 001aaf03 has its CatchHandler @ 001aaf0f */\n  FUN_001aae40(param_1,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);" (call_expression "FUN_001c5690(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (expression_statement "param_1[0x1c] = 0;" (assignment_expression "param_1[0x1c] = 0" (subscript_expression "param_1[0x1c]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined2 *)(param_1 + 0x1d) = 0;" (assignment_expression "*(undefined2 *)(param_1 + 0x1d) = 0" (pointer_expression "*(undefined2 *)(param_1 + 0x1d)" * (cast_expression "(undefined2 *)(param_1 + 0x1d)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1d)" ( (binary_expression "param_1 + 0x1d" identifier + number_literal) )))) = 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 "*param_1 = unaff_EDI + 0x154907;" (assignment_expression "*param_1 = unaff_EDI + 0x154907" (pointer_expression "*param_1" * identifier) = (binary_expression "unaff_EDI + 0x154907" identifier + number_literal)) ;) (expression_statement "param_1[0x1f] = 0;" (assignment_expression "param_1[0x1f] = 0" (subscript_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) ;) comment (expression_statement "FUN_001aae40(param_1,param_2);" (call_expression "FUN_001aae40(param_1,param_2)" identifier (argument_list "(param_1,param_2)" ( identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* std::ios::ios(std::streambuf*) */\n\nvoid __thiscall std::ios::ios(ios *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);\n  *(undefined4 *)(this + 0x70) = 0;\n  *(undefined2 *)(this + 0x74) = 0;\n  *(undefined4 *)(this + 0x78) = 0;\n  *(int *)this = unaff_EDI + 0x154907;\n  *(undefined4 *)(this + 0x7c) = 0;\n  *(undefined4 *)(this + 0x80) = 0;\n  *(undefined4 *)(this + 0x84) = 0;\n                    /* try { // try from 001aaeff to 001aaf03 has its CatchHandler @ 001aaf0f */\n  init(this,param_1);\n  return;\n}\n\n" comment (function_definition "void __thiscall std::ios::ios(ios *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);\n  *(undefined4 *)(this + 0x70) = 0;\n  *(undefined2 *)(this + 0x74) = 0;\n  *(undefined4 *)(this + 0x78) = 0;\n  *(int *)this = unaff_EDI + 0x154907;\n  *(undefined4 *)(this + 0x7c) = 0;\n  *(undefined4 *)(this + 0x80) = 0;\n  *(undefined4 *)(this + 0x84) = 0;\n                    /* try { // try from 001aaeff to 001aaf03 has its CatchHandler @ 001aaf0f */\n  init(this,param_1);\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::ios::" identifier : : identifier : :) (function_declarator "ios(ios *this,streambuf *param_1)" identifier (parameter_list "(ios *this,streambuf *param_1)" ( (parameter_declaration "ios *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);\n  *(undefined4 *)(this + 0x70) = 0;\n  *(undefined2 *)(this + 0x74) = 0;\n  *(undefined4 *)(this + 0x78) = 0;\n  *(int *)this = unaff_EDI + 0x154907;\n  *(undefined4 *)(this + 0x7c) = 0;\n  *(undefined4 *)(this + 0x80) = 0;\n  *(undefined4 *)(this + 0x84) = 0;\n                    /* try { // try from 001aaeff to 001aaf03 has its CatchHandler @ 001aaf0f */\n  init(this,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);" statement_identifier : (ERROR ":" :) (expression_statement "ios_base((ios_base *)this);" (call_expression "ios_base((ios_base *)this)" identifier (argument_list "((ios_base *)this)" ( (cast_expression "(ios_base *)this" ( (type_descriptor "ios_base *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) ))) ;)) (expression_statement "*(undefined4 *)(this + 0x70) = 0;" (assignment_expression "*(undefined4 *)(this + 0x70) = 0" (pointer_expression "*(undefined4 *)(this + 0x70)" * (cast_expression "(undefined4 *)(this + 0x70)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x70)" ( (binary_expression "this + 0x70" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined2 *)(this + 0x74) = 0;" (assignment_expression "*(undefined2 *)(this + 0x74) = 0" (pointer_expression "*(undefined2 *)(this + 0x74)" * (cast_expression "(undefined2 *)(this + 0x74)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x74)" ( (binary_expression "this + 0x74" identifier + number_literal) )))) = 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 "*(int *)this = unaff_EDI + 0x154907;" (assignment_expression "*(int *)this = unaff_EDI + 0x154907" (pointer_expression "*(int *)this" * (cast_expression "(int *)this" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) = (binary_expression "unaff_EDI + 0x154907" identifier + number_literal)) ;) (expression_statement "*(undefined4 *)(this + 0x7c) = 0;" (assignment_expression "*(undefined4 *)(this + 0x7c) = 0" (pointer_expression "*(undefined4 *)(this + 0x7c)" * (cast_expression "(undefined4 *)(this + 0x7c)" ( (type_descriptor "undefined4 *" 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) ;) comment (expression_statement "init(this,param_1);" (call_expression "init(this,param_1)" identifier (argument_list "(this,param_1)" ( identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_001aaea0(int *param_1,undefined4 param_2)\n\n{\n  int unaff_EDI;\n  \n  FUN_0004fb7e();\n  FUN_001c5690(param_1);\n  param_1[0x1c] = 0;\n  *(undefined2 *)(param_1 + 0x1d) = 0;\n  param_1[0x1e] = 0;\n  *param_1 = unaff_EDI + 0x154907;\n  param_1[0x1f] = 0;\n  param_1[0x20] = 0;\n  param_1[0x21] = 0;\n                    \n  FUN_001aae40(param_1,param_2);\n  return;\n}\n\n" (function_definition "void FUN_001aaea0(int *param_1,undefined4 param_2)\n\n{\n  int unaff_EDI;\n  \n  FUN_0004fb7e();\n  FUN_001c5690(param_1);\n  param_1[0x1c] = 0;\n  *(undefined2 *)(param_1 + 0x1d) = 0;\n  param_1[0x1e] = 0;\n  *param_1 = unaff_EDI + 0x154907;\n  param_1[0x1f] = 0;\n  param_1[0x20] = 0;\n  param_1[0x21] = 0;\n                    \n  FUN_001aae40(param_1,param_2);\n  return;\n}" primitive_type (function_declarator "FUN_001aaea0(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);\n  param_1[0x1c] = 0;\n  *(undefined2 *)(param_1 + 0x1d) = 0;\n  param_1[0x1e] = 0;\n  *param_1 = unaff_EDI + 0x154907;\n  param_1[0x1f] = 0;\n  param_1[0x20] = 0;\n  param_1[0x21] = 0;\n                    \n  FUN_001aae40(param_1,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);" (call_expression "FUN_001c5690(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (expression_statement "param_1[0x1c] = 0;" (assignment_expression "param_1[0x1c] = 0" (subscript_expression "param_1[0x1c]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined2 *)(param_1 + 0x1d) = 0;" (assignment_expression "*(undefined2 *)(param_1 + 0x1d) = 0" (pointer_expression "*(undefined2 *)(param_1 + 0x1d)" * (cast_expression "(undefined2 *)(param_1 + 0x1d)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1d)" ( (binary_expression "param_1 + 0x1d" identifier + number_literal) )))) = 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 "*param_1 = unaff_EDI + 0x154907;" (assignment_expression "*param_1 = unaff_EDI + 0x154907" (pointer_expression "*param_1" * identifier) = (binary_expression "unaff_EDI + 0x154907" identifier + number_literal)) ;) (expression_statement "param_1[0x1f] = 0;" (assignment_expression "param_1[0x1f] = 0" (subscript_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 "FUN_001aae40(param_1,param_2);" (call_expression "FUN_001aae40(param_1,param_2)" identifier (argument_list "(param_1,param_2)" ( identifier , 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 ( IDENT ))) ;) (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 (pointer_expression * IDENT) = (binary_expression IDENT + 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 (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (return_statement return ;) })))
(function_definition "void FUN_001aaea0(int *param_1,undefined4 param_2)\n\n{\n  int unaff_EDI;\n  \n  FUN_0004fb7e();\n  FUN_001c5690(param_1);\n  param_1[0x1c] = 0;\n  *(undefined2 *)(param_1 + 0x1d) = 0;\n  param_1[0x1e] = 0;\n  *param_1 = unaff_EDI + 0x154907;\n  param_1[0x1f] = 0;\n  param_1[0x20] = 0;\n  param_1[0x21] = 0;\n                    \n  FUN_001aae40(param_1,param_2);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_001aaea0(int *param_1,undefined4 param_2)" (identifier "FUN_001aaea0") (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);\n  param_1[0x1c] = 0;\n  *(undefined2 *)(param_1 + 0x1d) = 0;\n  param_1[0x1e] = 0;\n  *param_1 = unaff_EDI + 0x154907;\n  param_1[0x1f] = 0;\n  param_1[0x20] = 0;\n  param_1[0x21] = 0;\n                    \n  FUN_001aae40(param_1,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);" (call_expression "FUN_001c5690(param_1)" (identifier "FUN_001c5690") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))) (; ";")) (expression_statement "param_1[0x1c] = 0;" (assignment_expression "param_1[0x1c] = 0" (subscript_expression "param_1[0x1c]" (identifier "param_1") ([ "[") (number_literal "0x1c") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined2 *)(param_1 + 0x1d) = 0;" (assignment_expression "*(undefined2 *)(param_1 + 0x1d) = 0" (pointer_expression "*(undefined2 *)(param_1 + 0x1d)" (* "*") (cast_expression "(undefined2 *)(param_1 + 0x1d)" (( "(") (type_descriptor "undefined2 *" (type_identifier "undefined2") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1d)" (( "(") (binary_expression "param_1 + 0x1d" (identifier "param_1") (+ "+") (number_literal "0x1d")) () ")")))) (= "=") (number_literal "0")) (; ";")) (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 "*param_1 = unaff_EDI + 0x154907;" (assignment_expression "*param_1 = unaff_EDI + 0x154907" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (binary_expression "unaff_EDI + 0x154907" (identifier "unaff_EDI") (+ "+") (number_literal "0x154907"))) (; ";")) (expression_statement "param_1[0x1f] = 0;" (assignment_expression "param_1[0x1f] = 0" (subscript_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 "FUN_001aae40(param_1,param_2);" (call_expression "FUN_001aae40(param_1,param_2)" (identifier "FUN_001aae40") (argument_list "(param_1,param_2)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* std::ios::ios(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);
  *(type_2 *)(var_3 + 0x70) = 0;
  *(type_3 *)(var_3 + 0x74) = 0;
  *(type_2 *)(var_3 + 0x78) = 0;
  *(int *)var_3 = var_4 + 0x154907;
  *(type_2 *)(var_3 + 0x7c) = 0;
  *(type_2 *)(var_3 + 0x80) = 0;
  *(type_2 *)(var_3 + 0x84) = 0;
                    /* try { // try from 001aaeff to 001aaf03 has its CatchHandler @ 001aaf0f */
  var_5(var_3,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 (identifier)))) (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: (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: (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 (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier)))) (return_statement))))

void MASKED(int *param_1,undefined4 param_2)

{
  int unaff_EDI;
  
  FUN_0004fb7e();
  FUN_001c5690(param_1);
  param_1[0x1c] = 0;
  *(undefined2 *)(param_1 + 0x1d) = 0;
  param_1[0x1e] = 0;
  *param_1 = unaff_EDI + 0x154907;
  param_1[0x1f] = 0;
  param_1[0x20] = 0;
  param_1[0x21] = 0;
                    /* try { // try from 001aaeff to 001aaf03 has its CatchHandler @ 001aaf0f */
  FUN_001aae40(param_1,param_2);
  return;
}

