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

void __thiscall std::wiostream::wiostream(wiostream *this,wstreambuf *param_1)

{
  undefined *puVar1;
  int iVar2;
  undefined4 in_a2;
  
  puVar1 = PTR_init_00435e10;
  iVar2 = *(int *)(param_1 + 4);
  *(int *)this = iVar2;
  *(undefined4 *)(this + *(int *)(iVar2 + -0xc)) = *(undefined4 *)(param_1 + 8);
  *(undefined4 *)(this + 4) = 0;
  (*(code *)puVar1)(this + *(int *)(iVar2 + -0xc),in_a2);
  iVar2 = *(int *)(param_1 + 0xc);
  *(int *)(this + 8) = iVar2;
  puVar1 = PTR_init_00435e10;
  iVar2 = *(int *)(iVar2 + -0xc);
                    /* try { // try from 003335b0 to 003335b7 has its CatchHandler @ 003335f0 */
  *(undefined4 *)(this + iVar2 + 8) = *(undefined4 *)(param_1 + 0x10);
  (*(code *)puVar1)(this + iVar2 + 8,in_a2);
  iVar2 = *(int *)param_1;
  *(int *)this = iVar2;
  *(undefined4 *)(this + *(int *)(iVar2 + -0xc)) = *(undefined4 *)(param_1 + 0x14);
  *(undefined4 *)(this + 8) = *(undefined4 *)(param_1 + 0x18);
  return;
}



void FUN_00333528(int *param_1,int *param_2,undefined4 param_3)

{
  undefined *puVar1;
  int iVar2;
  int *piVar3;
  
  puVar1 = PTR_init_00435e10;
  iVar2 = param_2[1];
  *param_1 = iVar2;
  *(int *)((int)param_1 + *(int *)(iVar2 + -0xc)) = param_2[2];
  param_1[1] = 0;
  (*(code *)puVar1)((int)param_1 + *(int *)(iVar2 + -0xc),param_3);
  iVar2 = param_2[3];
  param_1[2] = iVar2;
  puVar1 = PTR_init_00435e10;
  piVar3 = (int *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8);
                    /* try { // try from 003335b0 to 003335b7 has its CatchHandler @ 003335f0 */
  *piVar3 = param_2[4];
  (*(code *)puVar1)(piVar3,param_3);
  iVar2 = *param_2;
  *param_1 = iVar2;
  *(int *)((int)param_1 + *(int *)(iVar2 + -0xc)) = param_2[5];
  param_1[2] = param_2[6];
  return;
}


lui gp,0x10
addiu gp,gp,0x6ca8
addu gp,gp,t9
lw v0,0x4(a1)
addiu sp,sp,-0x28
lw t9,-0x43c0(gp)
sw gp,0x10(sp)
sw s1,0x1c(sp)
or s1,a1,zero
sw s2,0x20(sp)
or a1,a2,zero
sw s0,0x18(sp)
or s0,a0,zero
sw ra,0x24(sp)
or s2,a2,zero
sw v0,0x0(a0)
lw v1,-0xc(v0)
lw a0,0x8(s1)
addu v1,s0,v1
sw a0,0x0(v1)
sw zero,0x4(s0)
lw a0,-0xc(v0)
jalr t9
_addu a0,s0,a0
addiu v0,s0,0x8
lw v1,0xc(s1)
or a1,s2,zero
lw gp,0x10(sp)
sw v1,0x8(s0)
lw a0,-0xc(v1)
lw v1,0x10(s1)
lw t9,-0x43c0(gp)
addu v0,v0,a0
or a0,v0,zero
jalr t9
_sw v1,0x0(v0)
lw v0,0x0(s1)
lw ra,0x24(sp)
lw s2,0x20(sp)
sw v0,0x0(s0)
lw v0,-0xc(v0)
lw v1,0x14(s1)
addu v0,s0,v0
sw v1,0x0(v0)
lw v0,0x18(s1)
lw s1,0x1c(sp)
sw v0,0x8(s0)
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x28
(translation_unit "void FUN_00333528(int *param_1,int *param_2,undefined4 param_3)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  int *piVar3;\n  \n  puVar1 = PTR_init_00435e10;\n  iVar2 = param_2[1];\n  *param_1 = iVar2;\n  *(int *)((int)param_1 + *(int *)(iVar2 + -0xc)) = param_2[2];\n  param_1[1] = 0;\n  (*(code *)puVar1)((int)param_1 + *(int *)(iVar2 + -0xc),param_3);\n  iVar2 = param_2[3];\n  param_1[2] = iVar2;\n  puVar1 = PTR_init_00435e10;\n  piVar3 = (int *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8);\n                    /* try { // try from 003335b0 to 003335b7 has its CatchHandler @ 003335f0 */\n  *piVar3 = param_2[4];\n  (*(code *)puVar1)(piVar3,param_3);\n  iVar2 = *param_2;\n  *param_1 = iVar2;\n  *(int *)((int)param_1 + *(int *)(iVar2 + -0xc)) = param_2[5];\n  param_1[2] = param_2[6];\n  return;\n}\n\n" (function_definition "void FUN_00333528(int *param_1,int *param_2,undefined4 param_3)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  int *piVar3;\n  \n  puVar1 = PTR_init_00435e10;\n  iVar2 = param_2[1];\n  *param_1 = iVar2;\n  *(int *)((int)param_1 + *(int *)(iVar2 + -0xc)) = param_2[2];\n  param_1[1] = 0;\n  (*(code *)puVar1)((int)param_1 + *(int *)(iVar2 + -0xc),param_3);\n  iVar2 = param_2[3];\n  param_1[2] = iVar2;\n  puVar1 = PTR_init_00435e10;\n  piVar3 = (int *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8);\n                    /* try { // try from 003335b0 to 003335b7 has its CatchHandler @ 003335f0 */\n  *piVar3 = param_2[4];\n  (*(code *)puVar1)(piVar3,param_3);\n  iVar2 = *param_2;\n  *param_1 = iVar2;\n  *(int *)((int)param_1 + *(int *)(iVar2 + -0xc)) = param_2[5];\n  param_1[2] = param_2[6];\n  return;\n}" primitive_type (function_declarator "FUN_00333528(int *param_1,int *param_2,undefined4 param_3)" identifier (parameter_list "(int *param_1,int *param_2,undefined4 param_3)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "undefined4 param_3" type_identifier identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  int *piVar3;\n  \n  puVar1 = PTR_init_00435e10;\n  iVar2 = param_2[1];\n  *param_1 = iVar2;\n  *(int *)((int)param_1 + *(int *)(iVar2 + -0xc)) = param_2[2];\n  param_1[1] = 0;\n  (*(code *)puVar1)((int)param_1 + *(int *)(iVar2 + -0xc),param_3);\n  iVar2 = param_2[3];\n  param_1[2] = iVar2;\n  puVar1 = PTR_init_00435e10;\n  piVar3 = (int *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8);\n                    /* try { // try from 003335b0 to 003335b7 has its CatchHandler @ 003335f0 */\n  *piVar3 = param_2[4];\n  (*(code *)puVar1)(piVar3,param_3);\n  iVar2 = *param_2;\n  *param_1 = iVar2;\n  *(int *)((int)param_1 + *(int *)(iVar2 + -0xc)) = param_2[5];\n  param_1[2] = param_2[6];\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (expression_statement "puVar1 = PTR_init_00435e10;" (assignment_expression "puVar1 = PTR_init_00435e10" identifier = identifier) ;) (expression_statement "iVar2 = param_2[1];" (assignment_expression "iVar2 = param_2[1]" identifier = (subscript_expression "param_2[1]" identifier [ number_literal ])) ;) (expression_statement "*param_1 = iVar2;" (assignment_expression "*param_1 = iVar2" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "*(int *)((int)param_1 + *(int *)(iVar2 + -0xc)) = param_2[2];" (assignment_expression "*(int *)((int)param_1 + *(int *)(iVar2 + -0xc)) = param_2[2]" (pointer_expression "*(int *)((int)param_1 + *(int *)(iVar2 + -0xc))" * (cast_expression "(int *)((int)param_1 + *(int *)(iVar2 + -0xc))" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + *(int *)(iVar2 + -0xc))" ( (binary_expression "(int)param_1 + *(int *)(iVar2 + -0xc)" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + (pointer_expression "*(int *)(iVar2 + -0xc)" * (cast_expression "(int *)(iVar2 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + -0xc)" ( (binary_expression "iVar2 + -0xc" identifier + number_literal) ))))) )))) = (subscript_expression "param_2[2]" 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 "(*(code *)puVar1)((int)param_1 + *(int *)(iVar2 + -0xc),param_3);" (call_expression "(*(code *)puVar1)((int)param_1 + *(int *)(iVar2 + -0xc),param_3)" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "((int)param_1 + *(int *)(iVar2 + -0xc),param_3)" ( (binary_expression "(int)param_1 + *(int *)(iVar2 + -0xc)" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + (pointer_expression "*(int *)(iVar2 + -0xc)" * (cast_expression "(int *)(iVar2 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + -0xc)" ( (binary_expression "iVar2 + -0xc" identifier + number_literal) ))))) , identifier ))) ;) (expression_statement "iVar2 = param_2[3];" (assignment_expression "iVar2 = param_2[3]" identifier = (subscript_expression "param_2[3]" identifier [ number_literal ])) ;) (expression_statement "param_1[2] = iVar2;" (assignment_expression "param_1[2] = iVar2" (subscript_expression "param_1[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar1 = PTR_init_00435e10;" (assignment_expression "puVar1 = PTR_init_00435e10" identifier = identifier) ;) (expression_statement "piVar3 = (int *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8);" (assignment_expression "piVar3 = (int *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8)" identifier = (cast_expression "(int *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + *(int *)(iVar2 + -0xc) + 8)" ( (binary_expression "(int)param_1 + *(int *)(iVar2 + -0xc) + 8" (binary_expression "(int)param_1 + *(int *)(iVar2 + -0xc)" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + (pointer_expression "*(int *)(iVar2 + -0xc)" * (cast_expression "(int *)(iVar2 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + -0xc)" ( (binary_expression "iVar2 + -0xc" identifier + number_literal) ))))) + number_literal) )))) ;) comment (expression_statement "*piVar3 = param_2[4];" (assignment_expression "*piVar3 = param_2[4]" (pointer_expression "*piVar3" * identifier) = (subscript_expression "param_2[4]" identifier [ number_literal ])) ;) (expression_statement "(*(code *)puVar1)(piVar3,param_3);" (call_expression "(*(code *)puVar1)(piVar3,param_3)" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(piVar3,param_3)" ( identifier , identifier ))) ;) (expression_statement "iVar2 = *param_2;" (assignment_expression "iVar2 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "*param_1 = iVar2;" (assignment_expression "*param_1 = iVar2" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "*(int *)((int)param_1 + *(int *)(iVar2 + -0xc)) = param_2[5];" (assignment_expression "*(int *)((int)param_1 + *(int *)(iVar2 + -0xc)) = param_2[5]" (pointer_expression "*(int *)((int)param_1 + *(int *)(iVar2 + -0xc))" * (cast_expression "(int *)((int)param_1 + *(int *)(iVar2 + -0xc))" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + *(int *)(iVar2 + -0xc))" ( (binary_expression "(int)param_1 + *(int *)(iVar2 + -0xc)" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + (pointer_expression "*(int *)(iVar2 + -0xc)" * (cast_expression "(int *)(iVar2 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + -0xc)" ( (binary_expression "iVar2 + -0xc" identifier + number_literal) ))))) )))) = (subscript_expression "param_2[5]" identifier [ number_literal ])) ;) (expression_statement "param_1[2] = param_2[6];" (assignment_expression "param_1[2] = param_2[6]" (subscript_expression "param_1[2]" identifier [ number_literal ]) = (subscript_expression "param_2[6]" identifier [ number_literal ])) ;) (return_statement "return;" return ;) })))
(translation_unit "/* std::wiostream::wiostream(std::wstreambuf*) */\n\nvoid __thiscall std::wiostream::wiostream(wiostream *this,wstreambuf *param_1)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  undefined4 in_a2;\n  \n  puVar1 = PTR_init_00435e10;\n  iVar2 = *(int *)(param_1 + 4);\n  *(int *)this = iVar2;\n  *(undefined4 *)(this + *(int *)(iVar2 + -0xc)) = *(undefined4 *)(param_1 + 8);\n  *(undefined4 *)(this + 4) = 0;\n  (*(code *)puVar1)(this + *(int *)(iVar2 + -0xc),in_a2);\n  iVar2 = *(int *)(param_1 + 0xc);\n  *(int *)(this + 8) = iVar2;\n  puVar1 = PTR_init_00435e10;\n  iVar2 = *(int *)(iVar2 + -0xc);\n                    /* try { // try from 003335b0 to 003335b7 has its CatchHandler @ 003335f0 */\n  *(undefined4 *)(this + iVar2 + 8) = *(undefined4 *)(param_1 + 0x10);\n  (*(code *)puVar1)(this + iVar2 + 8,in_a2);\n  iVar2 = *(int *)param_1;\n  *(int *)this = iVar2;\n  *(undefined4 *)(this + *(int *)(iVar2 + -0xc)) = *(undefined4 *)(param_1 + 0x14);\n  *(undefined4 *)(this + 8) = *(undefined4 *)(param_1 + 0x18);\n  return;\n}\n\n" comment (function_definition "void __thiscall std::wiostream::wiostream(wiostream *this,wstreambuf *param_1)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  undefined4 in_a2;\n  \n  puVar1 = PTR_init_00435e10;\n  iVar2 = *(int *)(param_1 + 4);\n  *(int *)this = iVar2;\n  *(undefined4 *)(this + *(int *)(iVar2 + -0xc)) = *(undefined4 *)(param_1 + 8);\n  *(undefined4 *)(this + 4) = 0;\n  (*(code *)puVar1)(this + *(int *)(iVar2 + -0xc),in_a2);\n  iVar2 = *(int *)(param_1 + 0xc);\n  *(int *)(this + 8) = iVar2;\n  puVar1 = PTR_init_00435e10;\n  iVar2 = *(int *)(iVar2 + -0xc);\n                    /* try { // try from 003335b0 to 003335b7 has its CatchHandler @ 003335f0 */\n  *(undefined4 *)(this + iVar2 + 8) = *(undefined4 *)(param_1 + 0x10);\n  (*(code *)puVar1)(this + iVar2 + 8,in_a2);\n  iVar2 = *(int *)param_1;\n  *(int *)this = iVar2;\n  *(undefined4 *)(this + *(int *)(iVar2 + -0xc)) = *(undefined4 *)(param_1 + 0x14);\n  *(undefined4 *)(this + 8) = *(undefined4 *)(param_1 + 0x18);\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::wiostream::" identifier : : identifier : :) (function_declarator "wiostream(wiostream *this,wstreambuf *param_1)" identifier (parameter_list "(wiostream *this,wstreambuf *param_1)" ( (parameter_declaration "wiostream *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "wstreambuf *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  undefined4 in_a2;\n  \n  puVar1 = PTR_init_00435e10;\n  iVar2 = *(int *)(param_1 + 4);\n  *(int *)this = iVar2;\n  *(undefined4 *)(this + *(int *)(iVar2 + -0xc)) = *(undefined4 *)(param_1 + 8);\n  *(undefined4 *)(this + 4) = 0;\n  (*(code *)puVar1)(this + *(int *)(iVar2 + -0xc),in_a2);\n  iVar2 = *(int *)(param_1 + 0xc);\n  *(int *)(this + 8) = iVar2;\n  puVar1 = PTR_init_00435e10;\n  iVar2 = *(int *)(iVar2 + -0xc);\n                    /* try { // try from 003335b0 to 003335b7 has its CatchHandler @ 003335f0 */\n  *(undefined4 *)(this + iVar2 + 8) = *(undefined4 *)(param_1 + 0x10);\n  (*(code *)puVar1)(this + iVar2 + 8,in_a2);\n  iVar2 = *(int *)param_1;\n  *(int *)this = iVar2;\n  *(undefined4 *)(this + *(int *)(iVar2 + -0xc)) = *(undefined4 *)(param_1 + 0x14);\n  *(undefined4 *)(this + 8) = *(undefined4 *)(param_1 + 0x18);\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 in_a2;" type_identifier identifier ;) (expression_statement "puVar1 = PTR_init_00435e10;" (assignment_expression "puVar1 = PTR_init_00435e10" identifier = identifier) ;) (expression_statement "iVar2 = *(int *)(param_1 + 4);" (assignment_expression "iVar2 = *(int *)(param_1 + 4)" identifier = (pointer_expression "*(int *)(param_1 + 4)" * (cast_expression "(int *)(param_1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) ;) (expression_statement "*(int *)this = iVar2;" (assignment_expression "*(int *)this = iVar2" (pointer_expression "*(int *)this" * (cast_expression "(int *)this" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) = identifier) ;) (expression_statement "*(undefined4 *)(this + *(int *)(iVar2 + -0xc)) = *(undefined4 *)(param_1 + 8);" (assignment_expression "*(undefined4 *)(this + *(int *)(iVar2 + -0xc)) = *(undefined4 *)(param_1 + 8)" (pointer_expression "*(undefined4 *)(this + *(int *)(iVar2 + -0xc))" * (cast_expression "(undefined4 *)(this + *(int *)(iVar2 + -0xc))" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + *(int *)(iVar2 + -0xc))" ( (binary_expression "this + *(int *)(iVar2 + -0xc)" identifier + (pointer_expression "*(int *)(iVar2 + -0xc)" * (cast_expression "(int *)(iVar2 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + -0xc)" ( (binary_expression "iVar2 + -0xc" identifier + number_literal) ))))) )))) = (pointer_expression "*(undefined4 *)(param_1 + 8)" * (cast_expression "(undefined4 *)(param_1 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" 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) ;) (expression_statement "(*(code *)puVar1)(this + *(int *)(iVar2 + -0xc),in_a2);" (call_expression "(*(code *)puVar1)(this + *(int *)(iVar2 + -0xc),in_a2)" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(this + *(int *)(iVar2 + -0xc),in_a2)" ( (binary_expression "this + *(int *)(iVar2 + -0xc)" identifier + (pointer_expression "*(int *)(iVar2 + -0xc)" * (cast_expression "(int *)(iVar2 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + -0xc)" ( (binary_expression "iVar2 + -0xc" identifier + number_literal) ))))) , identifier ))) ;) (expression_statement "iVar2 = *(int *)(param_1 + 0xc);" (assignment_expression "iVar2 = *(int *)(param_1 + 0xc)" identifier = (pointer_expression "*(int *)(param_1 + 0xc)" * (cast_expression "(int *)(param_1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) ))))) ;) (expression_statement "*(int *)(this + 8) = iVar2;" (assignment_expression "*(int *)(this + 8) = iVar2" (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) )))) = identifier) ;) (expression_statement "puVar1 = PTR_init_00435e10;" (assignment_expression "puVar1 = PTR_init_00435e10" identifier = identifier) ;) (expression_statement "iVar2 = *(int *)(iVar2 + -0xc);" (assignment_expression "iVar2 = *(int *)(iVar2 + -0xc)" identifier = (pointer_expression "*(int *)(iVar2 + -0xc)" * (cast_expression "(int *)(iVar2 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + -0xc)" ( (binary_expression "iVar2 + -0xc" identifier + number_literal) ))))) ;) comment (expression_statement "*(undefined4 *)(this + iVar2 + 8) = *(undefined4 *)(param_1 + 0x10);" (assignment_expression "*(undefined4 *)(this + iVar2 + 8) = *(undefined4 *)(param_1 + 0x10)" (pointer_expression "*(undefined4 *)(this + iVar2 + 8)" * (cast_expression "(undefined4 *)(this + iVar2 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + iVar2 + 8)" ( (binary_expression "this + iVar2 + 8" (binary_expression "this + iVar2" identifier + identifier) + number_literal) )))) = (pointer_expression "*(undefined4 *)(param_1 + 0x10)" * (cast_expression "(undefined4 *)(param_1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "(*(code *)puVar1)(this + iVar2 + 8,in_a2);" (call_expression "(*(code *)puVar1)(this + iVar2 + 8,in_a2)" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(this + iVar2 + 8,in_a2)" ( (binary_expression "this + iVar2 + 8" (binary_expression "this + iVar2" identifier + identifier) + number_literal) , identifier ))) ;) (expression_statement "iVar2 = *(int *)param_1;" (assignment_expression "iVar2 = *(int *)param_1" identifier = (pointer_expression "*(int *)param_1" * (cast_expression "(int *)param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "*(int *)this = iVar2;" (assignment_expression "*(int *)this = iVar2" (pointer_expression "*(int *)this" * (cast_expression "(int *)this" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) = identifier) ;) (expression_statement "*(undefined4 *)(this + *(int *)(iVar2 + -0xc)) = *(undefined4 *)(param_1 + 0x14);" (assignment_expression "*(undefined4 *)(this + *(int *)(iVar2 + -0xc)) = *(undefined4 *)(param_1 + 0x14)" (pointer_expression "*(undefined4 *)(this + *(int *)(iVar2 + -0xc))" * (cast_expression "(undefined4 *)(this + *(int *)(iVar2 + -0xc))" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + *(int *)(iVar2 + -0xc))" ( (binary_expression "this + *(int *)(iVar2 + -0xc)" identifier + (pointer_expression "*(int *)(iVar2 + -0xc)" * (cast_expression "(int *)(iVar2 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + -0xc)" ( (binary_expression "iVar2 + -0xc" identifier + number_literal) ))))) )))) = (pointer_expression "*(undefined4 *)(param_1 + 0x14)" * (cast_expression "(undefined4 *)(param_1 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(this + 8) = *(undefined4 *)(param_1 + 0x18);" (assignment_expression "*(undefined4 *)(this + 8) = *(undefined4 *)(param_1 + 0x18)" (pointer_expression "*(undefined4 *)(this + 8)" * (cast_expression "(undefined4 *)(this + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(param_1 + 0x18)" * (cast_expression "(undefined4 *)(param_1 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) ))))) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00333528(int *param_1,int *param_2,undefined4 param_3)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  int *piVar3;\n  \n  puVar1 = PTR_init_00435e10;\n  iVar2 = param_2[1];\n  *param_1 = iVar2;\n  *(int *)((int)param_1 + *(int *)(iVar2 + -0xc)) = param_2[2];\n  param_1[1] = 0;\n  (*(code *)puVar1)((int)param_1 + *(int *)(iVar2 + -0xc),param_3);\n  iVar2 = param_2[3];\n  param_1[2] = iVar2;\n  puVar1 = PTR_init_00435e10;\n  piVar3 = (int *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8);\n                    \n  *piVar3 = param_2[4];\n  (*(code *)puVar1)(piVar3,param_3);\n  iVar2 = *param_2;\n  *param_1 = iVar2;\n  *(int *)((int)param_1 + *(int *)(iVar2 + -0xc)) = param_2[5];\n  param_1[2] = param_2[6];\n  return;\n}\n\n" (function_definition "void FUN_00333528(int *param_1,int *param_2,undefined4 param_3)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  int *piVar3;\n  \n  puVar1 = PTR_init_00435e10;\n  iVar2 = param_2[1];\n  *param_1 = iVar2;\n  *(int *)((int)param_1 + *(int *)(iVar2 + -0xc)) = param_2[2];\n  param_1[1] = 0;\n  (*(code *)puVar1)((int)param_1 + *(int *)(iVar2 + -0xc),param_3);\n  iVar2 = param_2[3];\n  param_1[2] = iVar2;\n  puVar1 = PTR_init_00435e10;\n  piVar3 = (int *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8);\n                    \n  *piVar3 = param_2[4];\n  (*(code *)puVar1)(piVar3,param_3);\n  iVar2 = *param_2;\n  *param_1 = iVar2;\n  *(int *)((int)param_1 + *(int *)(iVar2 + -0xc)) = param_2[5];\n  param_1[2] = param_2[6];\n  return;\n}" primitive_type (function_declarator "FUN_00333528(int *param_1,int *param_2,undefined4 param_3)" identifier (parameter_list "(int *param_1,int *param_2,undefined4 param_3)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "undefined4 param_3" type_identifier identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  int *piVar3;\n  \n  puVar1 = PTR_init_00435e10;\n  iVar2 = param_2[1];\n  *param_1 = iVar2;\n  *(int *)((int)param_1 + *(int *)(iVar2 + -0xc)) = param_2[2];\n  param_1[1] = 0;\n  (*(code *)puVar1)((int)param_1 + *(int *)(iVar2 + -0xc),param_3);\n  iVar2 = param_2[3];\n  param_1[2] = iVar2;\n  puVar1 = PTR_init_00435e10;\n  piVar3 = (int *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8);\n                    \n  *piVar3 = param_2[4];\n  (*(code *)puVar1)(piVar3,param_3);\n  iVar2 = *param_2;\n  *param_1 = iVar2;\n  *(int *)((int)param_1 + *(int *)(iVar2 + -0xc)) = param_2[5];\n  param_1[2] = param_2[6];\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (expression_statement "puVar1 = PTR_init_00435e10;" (assignment_expression "puVar1 = PTR_init_00435e10" identifier = identifier) ;) (expression_statement "iVar2 = param_2[1];" (assignment_expression "iVar2 = param_2[1]" identifier = (subscript_expression "param_2[1]" identifier [ number_literal ])) ;) (expression_statement "*param_1 = iVar2;" (assignment_expression "*param_1 = iVar2" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "*(int *)((int)param_1 + *(int *)(iVar2 + -0xc)) = param_2[2];" (assignment_expression "*(int *)((int)param_1 + *(int *)(iVar2 + -0xc)) = param_2[2]" (pointer_expression "*(int *)((int)param_1 + *(int *)(iVar2 + -0xc))" * (cast_expression "(int *)((int)param_1 + *(int *)(iVar2 + -0xc))" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + *(int *)(iVar2 + -0xc))" ( (binary_expression "(int)param_1 + *(int *)(iVar2 + -0xc)" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + (pointer_expression "*(int *)(iVar2 + -0xc)" * (cast_expression "(int *)(iVar2 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + -0xc)" ( (binary_expression "iVar2 + -0xc" identifier + number_literal) ))))) )))) = (subscript_expression "param_2[2]" 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 "(*(code *)puVar1)((int)param_1 + *(int *)(iVar2 + -0xc),param_3);" (call_expression "(*(code *)puVar1)((int)param_1 + *(int *)(iVar2 + -0xc),param_3)" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "((int)param_1 + *(int *)(iVar2 + -0xc),param_3)" ( (binary_expression "(int)param_1 + *(int *)(iVar2 + -0xc)" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + (pointer_expression "*(int *)(iVar2 + -0xc)" * (cast_expression "(int *)(iVar2 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + -0xc)" ( (binary_expression "iVar2 + -0xc" identifier + number_literal) ))))) , identifier ))) ;) (expression_statement "iVar2 = param_2[3];" (assignment_expression "iVar2 = param_2[3]" identifier = (subscript_expression "param_2[3]" identifier [ number_literal ])) ;) (expression_statement "param_1[2] = iVar2;" (assignment_expression "param_1[2] = iVar2" (subscript_expression "param_1[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar1 = PTR_init_00435e10;" (assignment_expression "puVar1 = PTR_init_00435e10" identifier = identifier) ;) (expression_statement "piVar3 = (int *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8);" (assignment_expression "piVar3 = (int *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8)" identifier = (cast_expression "(int *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + *(int *)(iVar2 + -0xc) + 8)" ( (binary_expression "(int)param_1 + *(int *)(iVar2 + -0xc) + 8" (binary_expression "(int)param_1 + *(int *)(iVar2 + -0xc)" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + (pointer_expression "*(int *)(iVar2 + -0xc)" * (cast_expression "(int *)(iVar2 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + -0xc)" ( (binary_expression "iVar2 + -0xc" identifier + number_literal) ))))) + number_literal) )))) ;) (expression_statement "*piVar3 = param_2[4];" (assignment_expression "*piVar3 = param_2[4]" (pointer_expression "*piVar3" * identifier) = (subscript_expression "param_2[4]" identifier [ number_literal ])) ;) (expression_statement "(*(code *)puVar1)(piVar3,param_3);" (call_expression "(*(code *)puVar1)(piVar3,param_3)" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(piVar3,param_3)" ( identifier , identifier ))) ;) (expression_statement "iVar2 = *param_2;" (assignment_expression "iVar2 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "*param_1 = iVar2;" (assignment_expression "*param_1 = iVar2" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "*(int *)((int)param_1 + *(int *)(iVar2 + -0xc)) = param_2[5];" (assignment_expression "*(int *)((int)param_1 + *(int *)(iVar2 + -0xc)) = param_2[5]" (pointer_expression "*(int *)((int)param_1 + *(int *)(iVar2 + -0xc))" * (cast_expression "(int *)((int)param_1 + *(int *)(iVar2 + -0xc))" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + *(int *)(iVar2 + -0xc))" ( (binary_expression "(int)param_1 + *(int *)(iVar2 + -0xc)" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + (pointer_expression "*(int *)(iVar2 + -0xc)" * (cast_expression "(int *)(iVar2 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + -0xc)" ( (binary_expression "iVar2 + -0xc" identifier + number_literal) ))))) )))) = (subscript_expression "param_2[5]" identifier [ number_literal ])) ;) (expression_statement "param_1[2] = param_2[6];" (assignment_expression "param_1[2] = param_2[6]" (subscript_expression "param_1[2]" identifier [ number_literal ]) = (subscript_expression "param_2[6]" identifier [ number_literal ])) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )))) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) + LIT) )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )))) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (return_statement return ;) })))
(function_definition "void FUN_00333528(int *param_1,int *param_2,undefined4 param_3)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  int *piVar3;\n  \n  puVar1 = PTR_init_00435e10;\n  iVar2 = param_2[1];\n  *param_1 = iVar2;\n  *(int *)((int)param_1 + *(int *)(iVar2 + -0xc)) = param_2[2];\n  param_1[1] = 0;\n  (*(code *)puVar1)((int)param_1 + *(int *)(iVar2 + -0xc),param_3);\n  iVar2 = param_2[3];\n  param_1[2] = iVar2;\n  puVar1 = PTR_init_00435e10;\n  piVar3 = (int *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8);\n                    \n  *piVar3 = param_2[4];\n  (*(code *)puVar1)(piVar3,param_3);\n  iVar2 = *param_2;\n  *param_1 = iVar2;\n  *(int *)((int)param_1 + *(int *)(iVar2 + -0xc)) = param_2[5];\n  param_1[2] = param_2[6];\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00333528(int *param_1,int *param_2,undefined4 param_3)" (identifier "FUN_00333528") (parameter_list "(int *param_1,int *param_2,undefined4 param_3)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int *param_2" (primitive_type "int") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) () ")"))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  int *piVar3;\n  \n  puVar1 = PTR_init_00435e10;\n  iVar2 = param_2[1];\n  *param_1 = iVar2;\n  *(int *)((int)param_1 + *(int *)(iVar2 + -0xc)) = param_2[2];\n  param_1[1] = 0;\n  (*(code *)puVar1)((int)param_1 + *(int *)(iVar2 + -0xc),param_3);\n  iVar2 = param_2[3];\n  param_1[2] = iVar2;\n  puVar1 = PTR_init_00435e10;\n  piVar3 = (int *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8);\n                    \n  *piVar3 = param_2[4];\n  (*(code *)puVar1)(piVar3,param_3);\n  iVar2 = *param_2;\n  *param_1 = iVar2;\n  *(int *)((int)param_1 + *(int *)(iVar2 + -0xc)) = param_2[5];\n  param_1[2] = param_2[6];\n  return;\n}" ({ "{") (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "int *piVar3;" (primitive_type "int") (pointer_declarator "*piVar3" (* "*") (identifier "piVar3")) (; ";")) (expression_statement "puVar1 = PTR_init_00435e10;" (assignment_expression "puVar1 = PTR_init_00435e10" (identifier "puVar1") (= "=") (identifier "PTR_init_00435e10")) (; ";")) (expression_statement "iVar2 = param_2[1];" (assignment_expression "iVar2 = param_2[1]" (identifier "iVar2") (= "=") (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "*param_1 = iVar2;" (assignment_expression "*param_1 = iVar2" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (identifier "iVar2")) (; ";")) (expression_statement "*(int *)((int)param_1 + *(int *)(iVar2 + -0xc)) = param_2[2];" (assignment_expression "*(int *)((int)param_1 + *(int *)(iVar2 + -0xc)) = param_2[2]" (pointer_expression "*(int *)((int)param_1 + *(int *)(iVar2 + -0xc))" (* "*") (cast_expression "(int *)((int)param_1 + *(int *)(iVar2 + -0xc))" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + *(int *)(iVar2 + -0xc))" (( "(") (binary_expression "(int)param_1 + *(int *)(iVar2 + -0xc)" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (pointer_expression "*(int *)(iVar2 + -0xc)" (* "*") (cast_expression "(int *)(iVar2 + -0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + -0xc)" (( "(") (binary_expression "iVar2 + -0xc" (identifier "iVar2") (+ "+") (number_literal "-0xc")) () ")"))))) () ")")))) (= "=") (subscript_expression "param_2[2]" (identifier "param_2") ([ "[") (number_literal "2") (] "]"))) (; ";")) (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 "(*(code *)puVar1)((int)param_1 + *(int *)(iVar2 + -0xc),param_3);" (call_expression "(*(code *)puVar1)((int)param_1 + *(int *)(iVar2 + -0xc),param_3)" (parenthesized_expression "(*(code *)puVar1)" (( "(") (pointer_expression "*(code *)puVar1" (* "*") (cast_expression "(code *)puVar1" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar1"))) () ")")) (argument_list "((int)param_1 + *(int *)(iVar2 + -0xc),param_3)" (( "(") (binary_expression "(int)param_1 + *(int *)(iVar2 + -0xc)" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (pointer_expression "*(int *)(iVar2 + -0xc)" (* "*") (cast_expression "(int *)(iVar2 + -0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + -0xc)" (( "(") (binary_expression "iVar2 + -0xc" (identifier "iVar2") (+ "+") (number_literal "-0xc")) () ")"))))) (, ",") (identifier "param_3") () ")"))) (; ";")) (expression_statement "iVar2 = param_2[3];" (assignment_expression "iVar2 = param_2[3]" (identifier "iVar2") (= "=") (subscript_expression "param_2[3]" (identifier "param_2") ([ "[") (number_literal "3") (] "]"))) (; ";")) (expression_statement "param_1[2] = iVar2;" (assignment_expression "param_1[2] = iVar2" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "iVar2")) (; ";")) (expression_statement "puVar1 = PTR_init_00435e10;" (assignment_expression "puVar1 = PTR_init_00435e10" (identifier "puVar1") (= "=") (identifier "PTR_init_00435e10")) (; ";")) (expression_statement "piVar3 = (int *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8);" (assignment_expression "piVar3 = (int *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8)" (identifier "piVar3") (= "=") (cast_expression "(int *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + *(int *)(iVar2 + -0xc) + 8)" (( "(") (binary_expression "(int)param_1 + *(int *)(iVar2 + -0xc) + 8" (binary_expression "(int)param_1 + *(int *)(iVar2 + -0xc)" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (pointer_expression "*(int *)(iVar2 + -0xc)" (* "*") (cast_expression "(int *)(iVar2 + -0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + -0xc)" (( "(") (binary_expression "iVar2 + -0xc" (identifier "iVar2") (+ "+") (number_literal "-0xc")) () ")"))))) (+ "+") (number_literal "8")) () ")")))) (; ";")) (expression_statement "*piVar3 = param_2[4];" (assignment_expression "*piVar3 = param_2[4]" (pointer_expression "*piVar3" (* "*") (identifier "piVar3")) (= "=") (subscript_expression "param_2[4]" (identifier "param_2") ([ "[") (number_literal "4") (] "]"))) (; ";")) (expression_statement "(*(code *)puVar1)(piVar3,param_3);" (call_expression "(*(code *)puVar1)(piVar3,param_3)" (parenthesized_expression "(*(code *)puVar1)" (( "(") (pointer_expression "*(code *)puVar1" (* "*") (cast_expression "(code *)puVar1" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar1"))) () ")")) (argument_list "(piVar3,param_3)" (( "(") (identifier "piVar3") (, ",") (identifier "param_3") () ")"))) (; ";")) (expression_statement "iVar2 = *param_2;" (assignment_expression "iVar2 = *param_2" (identifier "iVar2") (= "=") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) (; ";")) (expression_statement "*param_1 = iVar2;" (assignment_expression "*param_1 = iVar2" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (identifier "iVar2")) (; ";")) (expression_statement "*(int *)((int)param_1 + *(int *)(iVar2 + -0xc)) = param_2[5];" (assignment_expression "*(int *)((int)param_1 + *(int *)(iVar2 + -0xc)) = param_2[5]" (pointer_expression "*(int *)((int)param_1 + *(int *)(iVar2 + -0xc))" (* "*") (cast_expression "(int *)((int)param_1 + *(int *)(iVar2 + -0xc))" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + *(int *)(iVar2 + -0xc))" (( "(") (binary_expression "(int)param_1 + *(int *)(iVar2 + -0xc)" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (pointer_expression "*(int *)(iVar2 + -0xc)" (* "*") (cast_expression "(int *)(iVar2 + -0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + -0xc)" (( "(") (binary_expression "iVar2 + -0xc" (identifier "iVar2") (+ "+") (number_literal "-0xc")) () ")"))))) () ")")))) (= "=") (subscript_expression "param_2[5]" (identifier "param_2") ([ "[") (number_literal "5") (] "]"))) (; ";")) (expression_statement "param_1[2] = param_2[6];" (assignment_expression "param_1[2] = param_2[6]" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (= "=") (subscript_expression "param_2[6]" (identifier "param_2") ([ "[") (number_literal "6") (] "]"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

void __thiscall std::function_1::function_1(function_1 *var_2,type_1 *var_1)

{
  type_2 *puVar1;
  int var_3;
  type_3 in_a2;
  
  puVar1 = PTR_init_00435e10;
  var_3 = *(int *)(var_1 + 4);
  *(int *)var_2 = var_3;
  *(type_3 *)(var_2 + *(int *)(var_3 + -0xc)) = *(type_3 *)(var_1 + 8);
  *(type_3 *)(var_2 + 4) = 0;
  (*(type_4 *)puVar1)(var_2 + *(int *)(var_3 + -0xc),in_a2);
  var_3 = *(int *)(var_1 + 0xc);
  *(int *)(var_2 + 8) = var_3;
  puVar1 = PTR_init_00435e10;
  var_3 = *(int *)(var_3 + -0xc);
                    /* try { // try from 003335b0 to 003335b7 has its CatchHandler @ 003335f0 */
  *(type_3 *)(var_2 + var_3 + 8) = *(type_3 *)(var_1 + 0x10);
  (*(type_4 *)puVar1)(var_2 + var_3 + 8,in_a2);
  var_3 = *(int *)var_1;
  *(int *)var_2 = var_3;
  *(type_3 *)(var_2 + *(int *)(var_3 + -0xc)) = *(type_3 *)(var_1 + 0x14);
  *(type_3 *)(var_2 + 8) = *(type_3 *)(var_1 + 0x18);
  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: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))))) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) right: (number_literal)))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))))) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (subscript_expression argument: (identifier) index: (number_literal)))) (return_statement))))

void MASKED(int *param_1,int *param_2,undefined4 param_3)

{
  undefined *puVar1;
  int iVar2;
  int *piVar3;
  
  puVar1 = PTR_init_00435e10;
  iVar2 = param_2[1];
  *param_1 = iVar2;
  *(int *)((int)param_1 + *(int *)(iVar2 + -0xc)) = param_2[2];
  param_1[1] = 0;
  (*(code *)puVar1)((int)param_1 + *(int *)(iVar2 + -0xc),param_3);
  iVar2 = param_2[3];
  param_1[2] = iVar2;
  puVar1 = PTR_init_00435e10;
  piVar3 = (int *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8);
                    /* try { // try from 003335b0 to 003335b7 has its CatchHandler @ 003335f0 */
  *piVar3 = param_2[4];
  (*(code *)puVar1)(piVar3,param_3);
  iVar2 = *param_2;
  *param_1 = iVar2;
  *(int *)((int)param_1 + *(int *)(iVar2 + -0xc)) = param_2[5];
  param_1[2] = param_2[6];
  return;
}

