
/* std::wiostream::wiostream() */

void __thiscall std::wiostream::wiostream(wiostream *this)

{
  ios_base *this_00;
  int unaff_EDI;
  
  __x86_get_pc_thunk_di();
  this_00 = (ios_base *)(this + 0xc);
  ios_base::ios_base(this_00);
  *(undefined4 *)(this + 0x7c) = 0;
  *(undefined4 *)(this + 0x80) = 0;
  this[0x84] = (wiostream)0x0;
  *(undefined4 *)(this + 0x88) = 0;
  *(undefined4 *)(this + 0x8c) = 0;
  *(undefined4 *)(this + 0x90) = 0;
  *(undefined4 *)(this + 0x94) = 0;
  *(undefined **)this = &UNK_00166e07 + unaff_EDI;
  *(undefined **)(this + 0xc) = &UNK_00166e1b + unaff_EDI;
  *(undefined4 *)(this + 4) = 0;
                    /* try { // try from 002ac347 to 002ac34b has its CatchHandler @ 002ac38c */
  wios::init((wstreambuf *)this_00);
  *(undefined **)(this + 8) = &UNK_00166ddf + unaff_EDI;
  *(int *)(this + 0xc) = unaff_EDI + 0x166df3;
                    /* try { // try from 002ac365 to 002ac369 has its CatchHandler @ 002ac38e */
  wios::init((wstreambuf *)this_00);
  *(undefined **)this = &UNK_00166e4b + unaff_EDI;
  *(int *)(this + 0xc) = unaff_EDI + 0x166e73;
  *(undefined **)(this + 8) = &UNK_00166e5f + unaff_EDI;
  return;
}



void FUN_002ac2c0(int *param_1)

{
  int *piVar1;
  int unaff_EDI;
  
  FUN_000b484e();
  piVar1 = param_1 + 3;
  FUN_0028d110(piVar1);
  param_1[0x1f] = 0;
  param_1[0x20] = 0;
  *(undefined1 *)(param_1 + 0x21) = 0;
  param_1[0x22] = 0;
  param_1[0x23] = 0;
  param_1[0x24] = 0;
  param_1[0x25] = 0;
  *param_1 = unaff_EDI + 0x166e07;
  param_1[3] = unaff_EDI + 0x166e1b;
  param_1[1] = 0;
                    /* try { // try from 002ac347 to 002ac34b has its CatchHandler @ 002ac38c */
  FUN_00273240(piVar1,0);
  param_1[2] = unaff_EDI + 0x166ddf;
  param_1[3] = unaff_EDI + 0x166df3;
                    /* try { // try from 002ac365 to 002ac369 has its CatchHandler @ 002ac38e */
  FUN_00273240(piVar1,0);
  *param_1 = unaff_EDI + 0x166e4b;
  param_1[3] = unaff_EDI + 0x166e73;
  param_1[2] = unaff_EDI + 0x166e5f;
  return;
}


PUSH EBP
MOV EBP,ESP
PUSH EDI
CALL 0x000b484e
ADD EDI,0x167d37
PUSH ESI
PUSH EBX
SUB ESP,0x28
MOV ESI,dword ptr [EBP + 0x8]
LEA EAX,[ESI + 0xc]
MOV EBX,EDI
PUSH EAX
MOV dword ptr [EBP + -0x1c],EAX
CALL 0x0028d110
LEA ECX,[EDI + 0xfffff0d0]
LEA EAX,[EDI + 0xfffff0e4]
MOV dword ptr [ESI + 0x7c],0x0
MOV dword ptr [ESI + 0x80],0x0
MOV byte ptr [ESI + 0x84],0x0
MOV dword ptr [ESI + 0x88],0x0
MOV dword ptr [ESI + 0x8c],0x0
MOV dword ptr [ESI + 0x90],0x0
MOV dword ptr [ESI + 0x94],0x0
MOV dword ptr [ESI],ECX
MOV dword ptr [ESI + 0xc],EAX
MOV dword ptr [ESI + 0x4],0x0
MOV dword ptr [EBP + -0x20],ECX
POP ECX
POP EAX
PUSH 0x0
PUSH dword ptr [EBP + -0x1c]
CALL 0x00273240
POP EAX
LEA EAX,[EDI + 0xfffff0a8]
POP EDX
MOV dword ptr [ESI + 0x8],EAX
LEA EAX,[EDI + 0xfffff0bc]
MOV dword ptr [ESI + 0xc],EAX
PUSH 0x0
PUSH dword ptr [EBP + -0x1c]
CALL 0x00273240
LEA EAX,[EDI + 0xfffff108]
ADD ESP,0x10
LEA EDX,[EAX + 0xc]
MOV dword ptr [ESI],EDX
LEA EDX,[EAX + 0x34]
ADD EAX,0x20
MOV dword ptr [ESI + 0xc],EDX
MOV dword ptr [ESI + 0x8],EAX
LEA ESP,[EBP + -0xc]
POP EBX
POP ESI
POP EDI
POP EBP
RET
(translation_unit "void FUN_002ac2c0(int *param_1)\n\n{\n  int *piVar1;\n  int unaff_EDI;\n  \n  FUN_000b484e();\n  piVar1 = param_1 + 3;\n  FUN_0028d110(piVar1);\n  param_1[0x1f] = 0;\n  param_1[0x20] = 0;\n  *(undefined1 *)(param_1 + 0x21) = 0;\n  param_1[0x22] = 0;\n  param_1[0x23] = 0;\n  param_1[0x24] = 0;\n  param_1[0x25] = 0;\n  *param_1 = unaff_EDI + 0x166e07;\n  param_1[3] = unaff_EDI + 0x166e1b;\n  param_1[1] = 0;\n                    /* try { // try from 002ac347 to 002ac34b has its CatchHandler @ 002ac38c */\n  FUN_00273240(piVar1,0);\n  param_1[2] = unaff_EDI + 0x166ddf;\n  param_1[3] = unaff_EDI + 0x166df3;\n                    /* try { // try from 002ac365 to 002ac369 has its CatchHandler @ 002ac38e */\n  FUN_00273240(piVar1,0);\n  *param_1 = unaff_EDI + 0x166e4b;\n  param_1[3] = unaff_EDI + 0x166e73;\n  param_1[2] = unaff_EDI + 0x166e5f;\n  return;\n}\n\n" (function_definition "void FUN_002ac2c0(int *param_1)\n\n{\n  int *piVar1;\n  int unaff_EDI;\n  \n  FUN_000b484e();\n  piVar1 = param_1 + 3;\n  FUN_0028d110(piVar1);\n  param_1[0x1f] = 0;\n  param_1[0x20] = 0;\n  *(undefined1 *)(param_1 + 0x21) = 0;\n  param_1[0x22] = 0;\n  param_1[0x23] = 0;\n  param_1[0x24] = 0;\n  param_1[0x25] = 0;\n  *param_1 = unaff_EDI + 0x166e07;\n  param_1[3] = unaff_EDI + 0x166e1b;\n  param_1[1] = 0;\n                    /* try { // try from 002ac347 to 002ac34b has its CatchHandler @ 002ac38c */\n  FUN_00273240(piVar1,0);\n  param_1[2] = unaff_EDI + 0x166ddf;\n  param_1[3] = unaff_EDI + 0x166df3;\n                    /* try { // try from 002ac365 to 002ac369 has its CatchHandler @ 002ac38e */\n  FUN_00273240(piVar1,0);\n  *param_1 = unaff_EDI + 0x166e4b;\n  param_1[3] = unaff_EDI + 0x166e73;\n  param_1[2] = unaff_EDI + 0x166e5f;\n  return;\n}" primitive_type (function_declarator "FUN_002ac2c0(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  int *piVar1;\n  int unaff_EDI;\n  \n  FUN_000b484e();\n  piVar1 = param_1 + 3;\n  FUN_0028d110(piVar1);\n  param_1[0x1f] = 0;\n  param_1[0x20] = 0;\n  *(undefined1 *)(param_1 + 0x21) = 0;\n  param_1[0x22] = 0;\n  param_1[0x23] = 0;\n  param_1[0x24] = 0;\n  param_1[0x25] = 0;\n  *param_1 = unaff_EDI + 0x166e07;\n  param_1[3] = unaff_EDI + 0x166e1b;\n  param_1[1] = 0;\n                    /* try { // try from 002ac347 to 002ac34b has its CatchHandler @ 002ac38c */\n  FUN_00273240(piVar1,0);\n  param_1[2] = unaff_EDI + 0x166ddf;\n  param_1[3] = unaff_EDI + 0x166df3;\n                    /* try { // try from 002ac365 to 002ac369 has its CatchHandler @ 002ac38e */\n  FUN_00273240(piVar1,0);\n  *param_1 = unaff_EDI + 0x166e4b;\n  param_1[3] = unaff_EDI + 0x166e73;\n  param_1[2] = unaff_EDI + 0x166e5f;\n  return;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "int unaff_EDI;" primitive_type identifier ;) (expression_statement "FUN_000b484e();" (call_expression "FUN_000b484e()" identifier (argument_list "()" ( ))) ;) (expression_statement "piVar1 = param_1 + 3;" (assignment_expression "piVar1 = param_1 + 3" identifier = (binary_expression "param_1 + 3" identifier + number_literal)) ;) (expression_statement "FUN_0028d110(piVar1);" (call_expression "FUN_0028d110(piVar1)" identifier (argument_list "(piVar1)" ( identifier ))) ;) (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 "*(undefined1 *)(param_1 + 0x21) = 0;" (assignment_expression "*(undefined1 *)(param_1 + 0x21) = 0" (pointer_expression "*(undefined1 *)(param_1 + 0x21)" * (cast_expression "(undefined1 *)(param_1 + 0x21)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x21)" ( (binary_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[0x24] = 0;" (assignment_expression "param_1[0x24] = 0" (subscript_expression "param_1[0x24]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[0x25] = 0;" (assignment_expression "param_1[0x25] = 0" (subscript_expression "param_1[0x25]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*param_1 = unaff_EDI + 0x166e07;" (assignment_expression "*param_1 = unaff_EDI + 0x166e07" (pointer_expression "*param_1" * identifier) = (binary_expression "unaff_EDI + 0x166e07" identifier + number_literal)) ;) (expression_statement "param_1[3] = unaff_EDI + 0x166e1b;" (assignment_expression "param_1[3] = unaff_EDI + 0x166e1b" (subscript_expression "param_1[3]" identifier [ number_literal ]) = (binary_expression "unaff_EDI + 0x166e1b" 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_00273240(piVar1,0);" (call_expression "FUN_00273240(piVar1,0)" identifier (argument_list "(piVar1,0)" ( identifier , number_literal ))) ;) (expression_statement "param_1[2] = unaff_EDI + 0x166ddf;" (assignment_expression "param_1[2] = unaff_EDI + 0x166ddf" (subscript_expression "param_1[2]" identifier [ number_literal ]) = (binary_expression "unaff_EDI + 0x166ddf" identifier + number_literal)) ;) (expression_statement "param_1[3] = unaff_EDI + 0x166df3;" (assignment_expression "param_1[3] = unaff_EDI + 0x166df3" (subscript_expression "param_1[3]" identifier [ number_literal ]) = (binary_expression "unaff_EDI + 0x166df3" identifier + number_literal)) ;) comment (expression_statement "FUN_00273240(piVar1,0);" (call_expression "FUN_00273240(piVar1,0)" identifier (argument_list "(piVar1,0)" ( identifier , number_literal ))) ;) (expression_statement "*param_1 = unaff_EDI + 0x166e4b;" (assignment_expression "*param_1 = unaff_EDI + 0x166e4b" (pointer_expression "*param_1" * identifier) = (binary_expression "unaff_EDI + 0x166e4b" identifier + number_literal)) ;) (expression_statement "param_1[3] = unaff_EDI + 0x166e73;" (assignment_expression "param_1[3] = unaff_EDI + 0x166e73" (subscript_expression "param_1[3]" identifier [ number_literal ]) = (binary_expression "unaff_EDI + 0x166e73" identifier + number_literal)) ;) (expression_statement "param_1[2] = unaff_EDI + 0x166e5f;" (assignment_expression "param_1[2] = unaff_EDI + 0x166e5f" (subscript_expression "param_1[2]" identifier [ number_literal ]) = (binary_expression "unaff_EDI + 0x166e5f" identifier + number_literal)) ;) (return_statement "return;" return ;) })))
(translation_unit "/* std::wiostream::wiostream() */\n\nvoid __thiscall std::wiostream::wiostream(wiostream *this)\n\n{\n  ios_base *this_00;\n  int unaff_EDI;\n  \n  __x86_get_pc_thunk_di();\n  this_00 = (ios_base *)(this + 0xc);\n  ios_base::ios_base(this_00);\n  *(undefined4 *)(this + 0x7c) = 0;\n  *(undefined4 *)(this + 0x80) = 0;\n  this[0x84] = (wiostream)0x0;\n  *(undefined4 *)(this + 0x88) = 0;\n  *(undefined4 *)(this + 0x8c) = 0;\n  *(undefined4 *)(this + 0x90) = 0;\n  *(undefined4 *)(this + 0x94) = 0;\n  *(undefined **)this = &UNK_00166e07 + unaff_EDI;\n  *(undefined **)(this + 0xc) = &UNK_00166e1b + unaff_EDI;\n  *(undefined4 *)(this + 4) = 0;\n                    /* try { // try from 002ac347 to 002ac34b has its CatchHandler @ 002ac38c */\n  wios::init((wstreambuf *)this_00);\n  *(undefined **)(this + 8) = &UNK_00166ddf + unaff_EDI;\n  *(int *)(this + 0xc) = unaff_EDI + 0x166df3;\n                    /* try { // try from 002ac365 to 002ac369 has its CatchHandler @ 002ac38e */\n  wios::init((wstreambuf *)this_00);\n  *(undefined **)this = &UNK_00166e4b + unaff_EDI;\n  *(int *)(this + 0xc) = unaff_EDI + 0x166e73;\n  *(undefined **)(this + 8) = &UNK_00166e5f + unaff_EDI;\n  return;\n}\n\n" comment (function_definition "void __thiscall std::wiostream::wiostream(wiostream *this)\n\n{\n  ios_base *this_00;\n  int unaff_EDI;\n  \n  __x86_get_pc_thunk_di();\n  this_00 = (ios_base *)(this + 0xc);\n  ios_base::ios_base(this_00);\n  *(undefined4 *)(this + 0x7c) = 0;\n  *(undefined4 *)(this + 0x80) = 0;\n  this[0x84] = (wiostream)0x0;\n  *(undefined4 *)(this + 0x88) = 0;\n  *(undefined4 *)(this + 0x8c) = 0;\n  *(undefined4 *)(this + 0x90) = 0;\n  *(undefined4 *)(this + 0x94) = 0;\n  *(undefined **)this = &UNK_00166e07 + unaff_EDI;\n  *(undefined **)(this + 0xc) = &UNK_00166e1b + unaff_EDI;\n  *(undefined4 *)(this + 4) = 0;\n                    /* try { // try from 002ac347 to 002ac34b has its CatchHandler @ 002ac38c */\n  wios::init((wstreambuf *)this_00);\n  *(undefined **)(this + 8) = &UNK_00166ddf + unaff_EDI;\n  *(int *)(this + 0xc) = unaff_EDI + 0x166df3;\n                    /* try { // try from 002ac365 to 002ac369 has its CatchHandler @ 002ac38e */\n  wios::init((wstreambuf *)this_00);\n  *(undefined **)this = &UNK_00166e4b + unaff_EDI;\n  *(int *)(this + 0xc) = unaff_EDI + 0x166e73;\n  *(undefined **)(this + 8) = &UNK_00166e5f + unaff_EDI;\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::wiostream::" identifier : : identifier : :) (function_declarator "wiostream(wiostream *this)" identifier (parameter_list "(wiostream *this)" ( (parameter_declaration "wiostream *this" type_identifier (pointer_declarator "*this" * identifier)) ))) (compound_statement "{\n  ios_base *this_00;\n  int unaff_EDI;\n  \n  __x86_get_pc_thunk_di();\n  this_00 = (ios_base *)(this + 0xc);\n  ios_base::ios_base(this_00);\n  *(undefined4 *)(this + 0x7c) = 0;\n  *(undefined4 *)(this + 0x80) = 0;\n  this[0x84] = (wiostream)0x0;\n  *(undefined4 *)(this + 0x88) = 0;\n  *(undefined4 *)(this + 0x8c) = 0;\n  *(undefined4 *)(this + 0x90) = 0;\n  *(undefined4 *)(this + 0x94) = 0;\n  *(undefined **)this = &UNK_00166e07 + unaff_EDI;\n  *(undefined **)(this + 0xc) = &UNK_00166e1b + unaff_EDI;\n  *(undefined4 *)(this + 4) = 0;\n                    /* try { // try from 002ac347 to 002ac34b has its CatchHandler @ 002ac38c */\n  wios::init((wstreambuf *)this_00);\n  *(undefined **)(this + 8) = &UNK_00166ddf + unaff_EDI;\n  *(int *)(this + 0xc) = unaff_EDI + 0x166df3;\n                    /* try { // try from 002ac365 to 002ac369 has its CatchHandler @ 002ac38e */\n  wios::init((wstreambuf *)this_00);\n  *(undefined **)this = &UNK_00166e4b + unaff_EDI;\n  *(int *)(this + 0xc) = unaff_EDI + 0x166e73;\n  *(undefined **)(this + 8) = &UNK_00166e5f + unaff_EDI;\n  return;\n}" { (declaration "ios_base *this_00;" type_identifier (pointer_declarator "*this_00" * identifier) ;) (declaration "int unaff_EDI;" primitive_type identifier ;) (expression_statement "__x86_get_pc_thunk_di();" (call_expression "__x86_get_pc_thunk_di()" identifier (argument_list "()" ( ))) ;) (expression_statement "this_00 = (ios_base *)(this + 0xc);" (assignment_expression "this_00 = (ios_base *)(this + 0xc)" identifier = (cast_expression "(ios_base *)(this + 0xc)" ( (type_descriptor "ios_base *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0xc)" ( (binary_expression "this + 0xc" identifier + number_literal) )))) ;) (labeled_statement "ios_base::ios_base(this_00);" statement_identifier : (ERROR ":" :) (expression_statement "ios_base(this_00);" (call_expression "ios_base(this_00)" identifier (argument_list "(this_00)" ( identifier ))) ;)) (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 "this[0x84] = (wiostream)0x0;" (assignment_expression "this[0x84] = (wiostream)0x0" (subscript_expression "this[0x84]" identifier [ number_literal ]) = (cast_expression "(wiostream)0x0" ( (type_descriptor "wiostream" type_identifier) ) 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 "*(undefined4 *)(this + 0x90) = 0;" (assignment_expression "*(undefined4 *)(this + 0x90) = 0" (pointer_expression "*(undefined4 *)(this + 0x90)" * (cast_expression "(undefined4 *)(this + 0x90)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x90)" ( (binary_expression "this + 0x90" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(this + 0x94) = 0;" (assignment_expression "*(undefined4 *)(this + 0x94) = 0" (pointer_expression "*(undefined4 *)(this + 0x94)" * (cast_expression "(undefined4 *)(this + 0x94)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x94)" ( (binary_expression "this + 0x94" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined **)this = &UNK_00166e07 + unaff_EDI;" (assignment_expression "*(undefined **)this = &UNK_00166e07 + unaff_EDI" (pointer_expression "*(undefined **)this" * (cast_expression "(undefined **)this" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) = (binary_expression "&UNK_00166e07 + unaff_EDI" (pointer_expression "&UNK_00166e07" & identifier) + identifier)) ;) (expression_statement "*(undefined **)(this + 0xc) = &UNK_00166e1b + unaff_EDI;" (assignment_expression "*(undefined **)(this + 0xc) = &UNK_00166e1b + unaff_EDI" (pointer_expression "*(undefined **)(this + 0xc)" * (cast_expression "(undefined **)(this + 0xc)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + 0xc)" ( (binary_expression "this + 0xc" identifier + number_literal) )))) = (binary_expression "&UNK_00166e1b + unaff_EDI" (pointer_expression "&UNK_00166e1b" & identifier) + identifier)) ;) (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 "wios::init((wstreambuf *)this_00);" statement_identifier : (ERROR ":" :) (expression_statement "init((wstreambuf *)this_00);" (call_expression "init((wstreambuf *)this_00)" identifier (argument_list "((wstreambuf *)this_00)" ( (cast_expression "(wstreambuf *)this_00" ( (type_descriptor "wstreambuf *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) ))) ;)) (expression_statement "*(undefined **)(this + 8) = &UNK_00166ddf + unaff_EDI;" (assignment_expression "*(undefined **)(this + 8) = &UNK_00166ddf + unaff_EDI" (pointer_expression "*(undefined **)(this + 8)" * (cast_expression "(undefined **)(this + 8)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) )))) = (binary_expression "&UNK_00166ddf + unaff_EDI" (pointer_expression "&UNK_00166ddf" & identifier) + identifier)) ;) (expression_statement "*(int *)(this + 0xc) = unaff_EDI + 0x166df3;" (assignment_expression "*(int *)(this + 0xc) = unaff_EDI + 0x166df3" (pointer_expression "*(int *)(this + 0xc)" * (cast_expression "(int *)(this + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0xc)" ( (binary_expression "this + 0xc" identifier + number_literal) )))) = (binary_expression "unaff_EDI + 0x166df3" identifier + number_literal)) ;) comment (labeled_statement "wios::init((wstreambuf *)this_00);" statement_identifier : (ERROR ":" :) (expression_statement "init((wstreambuf *)this_00);" (call_expression "init((wstreambuf *)this_00)" identifier (argument_list "((wstreambuf *)this_00)" ( (cast_expression "(wstreambuf *)this_00" ( (type_descriptor "wstreambuf *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) ))) ;)) (expression_statement "*(undefined **)this = &UNK_00166e4b + unaff_EDI;" (assignment_expression "*(undefined **)this = &UNK_00166e4b + unaff_EDI" (pointer_expression "*(undefined **)this" * (cast_expression "(undefined **)this" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) = (binary_expression "&UNK_00166e4b + unaff_EDI" (pointer_expression "&UNK_00166e4b" & identifier) + identifier)) ;) (expression_statement "*(int *)(this + 0xc) = unaff_EDI + 0x166e73;" (assignment_expression "*(int *)(this + 0xc) = unaff_EDI + 0x166e73" (pointer_expression "*(int *)(this + 0xc)" * (cast_expression "(int *)(this + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0xc)" ( (binary_expression "this + 0xc" identifier + number_literal) )))) = (binary_expression "unaff_EDI + 0x166e73" identifier + number_literal)) ;) (expression_statement "*(undefined **)(this + 8) = &UNK_00166e5f + unaff_EDI;" (assignment_expression "*(undefined **)(this + 8) = &UNK_00166e5f + unaff_EDI" (pointer_expression "*(undefined **)(this + 8)" * (cast_expression "(undefined **)(this + 8)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) )))) = (binary_expression "&UNK_00166e5f + unaff_EDI" (pointer_expression "&UNK_00166e5f" & identifier) + identifier)) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_002ac2c0(int *param_1)\n\n{\n  int *piVar1;\n  int unaff_EDI;\n  \n  FUN_000b484e();\n  piVar1 = param_1 + 3;\n  FUN_0028d110(piVar1);\n  param_1[0x1f] = 0;\n  param_1[0x20] = 0;\n  *(undefined1 *)(param_1 + 0x21) = 0;\n  param_1[0x22] = 0;\n  param_1[0x23] = 0;\n  param_1[0x24] = 0;\n  param_1[0x25] = 0;\n  *param_1 = unaff_EDI + 0x166e07;\n  param_1[3] = unaff_EDI + 0x166e1b;\n  param_1[1] = 0;\n                    \n  FUN_00273240(piVar1,0);\n  param_1[2] = unaff_EDI + 0x166ddf;\n  param_1[3] = unaff_EDI + 0x166df3;\n                    \n  FUN_00273240(piVar1,0);\n  *param_1 = unaff_EDI + 0x166e4b;\n  param_1[3] = unaff_EDI + 0x166e73;\n  param_1[2] = unaff_EDI + 0x166e5f;\n  return;\n}\n\n" (function_definition "void FUN_002ac2c0(int *param_1)\n\n{\n  int *piVar1;\n  int unaff_EDI;\n  \n  FUN_000b484e();\n  piVar1 = param_1 + 3;\n  FUN_0028d110(piVar1);\n  param_1[0x1f] = 0;\n  param_1[0x20] = 0;\n  *(undefined1 *)(param_1 + 0x21) = 0;\n  param_1[0x22] = 0;\n  param_1[0x23] = 0;\n  param_1[0x24] = 0;\n  param_1[0x25] = 0;\n  *param_1 = unaff_EDI + 0x166e07;\n  param_1[3] = unaff_EDI + 0x166e1b;\n  param_1[1] = 0;\n                    \n  FUN_00273240(piVar1,0);\n  param_1[2] = unaff_EDI + 0x166ddf;\n  param_1[3] = unaff_EDI + 0x166df3;\n                    \n  FUN_00273240(piVar1,0);\n  *param_1 = unaff_EDI + 0x166e4b;\n  param_1[3] = unaff_EDI + 0x166e73;\n  param_1[2] = unaff_EDI + 0x166e5f;\n  return;\n}" primitive_type (function_declarator "FUN_002ac2c0(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  int *piVar1;\n  int unaff_EDI;\n  \n  FUN_000b484e();\n  piVar1 = param_1 + 3;\n  FUN_0028d110(piVar1);\n  param_1[0x1f] = 0;\n  param_1[0x20] = 0;\n  *(undefined1 *)(param_1 + 0x21) = 0;\n  param_1[0x22] = 0;\n  param_1[0x23] = 0;\n  param_1[0x24] = 0;\n  param_1[0x25] = 0;\n  *param_1 = unaff_EDI + 0x166e07;\n  param_1[3] = unaff_EDI + 0x166e1b;\n  param_1[1] = 0;\n                    \n  FUN_00273240(piVar1,0);\n  param_1[2] = unaff_EDI + 0x166ddf;\n  param_1[3] = unaff_EDI + 0x166df3;\n                    \n  FUN_00273240(piVar1,0);\n  *param_1 = unaff_EDI + 0x166e4b;\n  param_1[3] = unaff_EDI + 0x166e73;\n  param_1[2] = unaff_EDI + 0x166e5f;\n  return;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "int unaff_EDI;" primitive_type identifier ;) (expression_statement "FUN_000b484e();" (call_expression "FUN_000b484e()" identifier (argument_list "()" ( ))) ;) (expression_statement "piVar1 = param_1 + 3;" (assignment_expression "piVar1 = param_1 + 3" identifier = (binary_expression "param_1 + 3" identifier + number_literal)) ;) (expression_statement "FUN_0028d110(piVar1);" (call_expression "FUN_0028d110(piVar1)" identifier (argument_list "(piVar1)" ( identifier ))) ;) (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 "*(undefined1 *)(param_1 + 0x21) = 0;" (assignment_expression "*(undefined1 *)(param_1 + 0x21) = 0" (pointer_expression "*(undefined1 *)(param_1 + 0x21)" * (cast_expression "(undefined1 *)(param_1 + 0x21)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x21)" ( (binary_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[0x24] = 0;" (assignment_expression "param_1[0x24] = 0" (subscript_expression "param_1[0x24]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[0x25] = 0;" (assignment_expression "param_1[0x25] = 0" (subscript_expression "param_1[0x25]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*param_1 = unaff_EDI + 0x166e07;" (assignment_expression "*param_1 = unaff_EDI + 0x166e07" (pointer_expression "*param_1" * identifier) = (binary_expression "unaff_EDI + 0x166e07" identifier + number_literal)) ;) (expression_statement "param_1[3] = unaff_EDI + 0x166e1b;" (assignment_expression "param_1[3] = unaff_EDI + 0x166e1b" (subscript_expression "param_1[3]" identifier [ number_literal ]) = (binary_expression "unaff_EDI + 0x166e1b" 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_00273240(piVar1,0);" (call_expression "FUN_00273240(piVar1,0)" identifier (argument_list "(piVar1,0)" ( identifier , number_literal ))) ;) (expression_statement "param_1[2] = unaff_EDI + 0x166ddf;" (assignment_expression "param_1[2] = unaff_EDI + 0x166ddf" (subscript_expression "param_1[2]" identifier [ number_literal ]) = (binary_expression "unaff_EDI + 0x166ddf" identifier + number_literal)) ;) (expression_statement "param_1[3] = unaff_EDI + 0x166df3;" (assignment_expression "param_1[3] = unaff_EDI + 0x166df3" (subscript_expression "param_1[3]" identifier [ number_literal ]) = (binary_expression "unaff_EDI + 0x166df3" identifier + number_literal)) ;) (expression_statement "FUN_00273240(piVar1,0);" (call_expression "FUN_00273240(piVar1,0)" identifier (argument_list "(piVar1,0)" ( identifier , number_literal ))) ;) (expression_statement "*param_1 = unaff_EDI + 0x166e4b;" (assignment_expression "*param_1 = unaff_EDI + 0x166e4b" (pointer_expression "*param_1" * identifier) = (binary_expression "unaff_EDI + 0x166e4b" identifier + number_literal)) ;) (expression_statement "param_1[3] = unaff_EDI + 0x166e73;" (assignment_expression "param_1[3] = unaff_EDI + 0x166e73" (subscript_expression "param_1[3]" identifier [ number_literal ]) = (binary_expression "unaff_EDI + 0x166e73" identifier + number_literal)) ;) (expression_statement "param_1[2] = unaff_EDI + 0x166e5f;" (assignment_expression "param_1[2] = unaff_EDI + 0x166e5f" (subscript_expression "param_1[2]" identifier [ number_literal ]) = (binary_expression "unaff_EDI + 0x166e5f" identifier + number_literal)) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = 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 ( IDENT , LIT ))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression IDENT + LIT)) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , 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 ]) = (binary_expression IDENT + LIT)) ;) (return_statement return ;) })))
(function_definition "void FUN_002ac2c0(int *param_1)\n\n{\n  int *piVar1;\n  int unaff_EDI;\n  \n  FUN_000b484e();\n  piVar1 = param_1 + 3;\n  FUN_0028d110(piVar1);\n  param_1[0x1f] = 0;\n  param_1[0x20] = 0;\n  *(undefined1 *)(param_1 + 0x21) = 0;\n  param_1[0x22] = 0;\n  param_1[0x23] = 0;\n  param_1[0x24] = 0;\n  param_1[0x25] = 0;\n  *param_1 = unaff_EDI + 0x166e07;\n  param_1[3] = unaff_EDI + 0x166e1b;\n  param_1[1] = 0;\n                    \n  FUN_00273240(piVar1,0);\n  param_1[2] = unaff_EDI + 0x166ddf;\n  param_1[3] = unaff_EDI + 0x166df3;\n                    \n  FUN_00273240(piVar1,0);\n  *param_1 = unaff_EDI + 0x166e4b;\n  param_1[3] = unaff_EDI + 0x166e73;\n  param_1[2] = unaff_EDI + 0x166e5f;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_002ac2c0(int *param_1)" (identifier "FUN_002ac2c0") (parameter_list "(int *param_1)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  int *piVar1;\n  int unaff_EDI;\n  \n  FUN_000b484e();\n  piVar1 = param_1 + 3;\n  FUN_0028d110(piVar1);\n  param_1[0x1f] = 0;\n  param_1[0x20] = 0;\n  *(undefined1 *)(param_1 + 0x21) = 0;\n  param_1[0x22] = 0;\n  param_1[0x23] = 0;\n  param_1[0x24] = 0;\n  param_1[0x25] = 0;\n  *param_1 = unaff_EDI + 0x166e07;\n  param_1[3] = unaff_EDI + 0x166e1b;\n  param_1[1] = 0;\n                    \n  FUN_00273240(piVar1,0);\n  param_1[2] = unaff_EDI + 0x166ddf;\n  param_1[3] = unaff_EDI + 0x166df3;\n                    \n  FUN_00273240(piVar1,0);\n  *param_1 = unaff_EDI + 0x166e4b;\n  param_1[3] = unaff_EDI + 0x166e73;\n  param_1[2] = unaff_EDI + 0x166e5f;\n  return;\n}" ({ "{") (declaration "int *piVar1;" (primitive_type "int") (pointer_declarator "*piVar1" (* "*") (identifier "piVar1")) (; ";")) (declaration "int unaff_EDI;" (primitive_type "int") (identifier "unaff_EDI") (; ";")) (expression_statement "FUN_000b484e();" (call_expression "FUN_000b484e()" (identifier "FUN_000b484e") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "piVar1 = param_1 + 3;" (assignment_expression "piVar1 = param_1 + 3" (identifier "piVar1") (= "=") (binary_expression "param_1 + 3" (identifier "param_1") (+ "+") (number_literal "3"))) (; ";")) (expression_statement "FUN_0028d110(piVar1);" (call_expression "FUN_0028d110(piVar1)" (identifier "FUN_0028d110") (argument_list "(piVar1)" (( "(") (identifier "piVar1") () ")"))) (; ";")) (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 "*(undefined1 *)(param_1 + 0x21) = 0;" (assignment_expression "*(undefined1 *)(param_1 + 0x21) = 0" (pointer_expression "*(undefined1 *)(param_1 + 0x21)" (* "*") (cast_expression "(undefined1 *)(param_1 + 0x21)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x21)" (( "(") (binary_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[0x24] = 0;" (assignment_expression "param_1[0x24] = 0" (subscript_expression "param_1[0x24]" (identifier "param_1") ([ "[") (number_literal "0x24") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1[0x25] = 0;" (assignment_expression "param_1[0x25] = 0" (subscript_expression "param_1[0x25]" (identifier "param_1") ([ "[") (number_literal "0x25") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*param_1 = unaff_EDI + 0x166e07;" (assignment_expression "*param_1 = unaff_EDI + 0x166e07" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (binary_expression "unaff_EDI + 0x166e07" (identifier "unaff_EDI") (+ "+") (number_literal "0x166e07"))) (; ";")) (expression_statement "param_1[3] = unaff_EDI + 0x166e1b;" (assignment_expression "param_1[3] = unaff_EDI + 0x166e1b" (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")) (= "=") (binary_expression "unaff_EDI + 0x166e1b" (identifier "unaff_EDI") (+ "+") (number_literal "0x166e1b"))) (; ";")) (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_00273240(piVar1,0);" (call_expression "FUN_00273240(piVar1,0)" (identifier "FUN_00273240") (argument_list "(piVar1,0)" (( "(") (identifier "piVar1") (, ",") (number_literal "0") () ")"))) (; ";")) (expression_statement "param_1[2] = unaff_EDI + 0x166ddf;" (assignment_expression "param_1[2] = unaff_EDI + 0x166ddf" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (= "=") (binary_expression "unaff_EDI + 0x166ddf" (identifier "unaff_EDI") (+ "+") (number_literal "0x166ddf"))) (; ";")) (expression_statement "param_1[3] = unaff_EDI + 0x166df3;" (assignment_expression "param_1[3] = unaff_EDI + 0x166df3" (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")) (= "=") (binary_expression "unaff_EDI + 0x166df3" (identifier "unaff_EDI") (+ "+") (number_literal "0x166df3"))) (; ";")) (expression_statement "FUN_00273240(piVar1,0);" (call_expression "FUN_00273240(piVar1,0)" (identifier "FUN_00273240") (argument_list "(piVar1,0)" (( "(") (identifier "piVar1") (, ",") (number_literal "0") () ")"))) (; ";")) (expression_statement "*param_1 = unaff_EDI + 0x166e4b;" (assignment_expression "*param_1 = unaff_EDI + 0x166e4b" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (binary_expression "unaff_EDI + 0x166e4b" (identifier "unaff_EDI") (+ "+") (number_literal "0x166e4b"))) (; ";")) (expression_statement "param_1[3] = unaff_EDI + 0x166e73;" (assignment_expression "param_1[3] = unaff_EDI + 0x166e73" (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")) (= "=") (binary_expression "unaff_EDI + 0x166e73" (identifier "unaff_EDI") (+ "+") (number_literal "0x166e73"))) (; ";")) (expression_statement "param_1[2] = unaff_EDI + 0x166e5f;" (assignment_expression "param_1[2] = unaff_EDI + 0x166e5f" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (= "=") (binary_expression "unaff_EDI + 0x166e5f" (identifier "unaff_EDI") (+ "+") (number_literal "0x166e5f"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* std::wiostream::wiostream() */

void __thiscall std::function_1::function_1(function_1 *var_2)

{
  type_1 *this_00;
  int var_3;
  
  var_1();
  this_00 = (type_1 *)(var_2 + 0xc);
  ios_base::type_1(this_00);
  *(type_2 *)(var_2 + 0x7c) = 0;
  *(type_2 *)(var_2 + 0x80) = 0;
  var_2[0x84] = (function_1)0x0;
  *(type_2 *)(var_2 + 0x88) = 0;
  *(type_2 *)(var_2 + 0x8c) = 0;
  *(type_2 *)(var_2 + 0x90) = 0;
  *(type_2 *)(var_2 + 0x94) = 0;
  *(type_3 **)var_2 = &UNK_00166e07 + var_3;
  *(type_3 **)(var_2 + 0xc) = &UNK_00166e1b + var_3;
  *(type_2 *)(var_2 + 4) = 0;
                    /* try { // try from 002ac347 to 002ac34b has its CatchHandler @ 002ac38c */
  wios::var_4((type_4 *)this_00);
  *(type_3 **)(var_2 + 8) = &UNK_00166ddf + var_3;
  *(int *)(var_2 + 0xc) = var_3 + 0x166df3;
                    /* try { // try from 002ac365 to 002ac369 has its CatchHandler @ 002ac38e */
  wios::var_4((type_4 *)this_00);
  *(type_3 **)var_2 = &UNK_00166e4b + var_3;
  *(int *)(var_2 + 0xc) = var_3 + 0x166e73;
  *(type_3 **)(var_2 + 8) = &UNK_00166e5f + var_3;
  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))))) body: (compound_statement (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (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: (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 (identifier) (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: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (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: (binary_expression left: (identifier) right: (number_literal)))) (return_statement))))

void MASKED(int *param_1)

{
  int *piVar1;
  int unaff_EDI;
  
  FUN_000b484e();
  piVar1 = param_1 + 3;
  FUN_0028d110(piVar1);
  param_1[0x1f] = 0;
  param_1[0x20] = 0;
  *(undefined1 *)(param_1 + 0x21) = 0;
  param_1[0x22] = 0;
  param_1[0x23] = 0;
  param_1[0x24] = 0;
  param_1[0x25] = 0;
  *param_1 = unaff_EDI + 0x166e07;
  param_1[3] = unaff_EDI + 0x166e1b;
  param_1[1] = 0;
                    /* try { // try from 002ac347 to 002ac34b has its CatchHandler @ 002ac38c */
  FUN_00273240(piVar1,0);
  param_1[2] = unaff_EDI + 0x166ddf;
  param_1[3] = unaff_EDI + 0x166df3;
                    /* try { // try from 002ac365 to 002ac369 has its CatchHandler @ 002ac38e */
  FUN_00273240(piVar1,0);
  *param_1 = unaff_EDI + 0x166e4b;
  param_1[3] = unaff_EDI + 0x166e73;
  param_1[2] = unaff_EDI + 0x166e5f;
  return;
}

