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

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

{
  long lVar1;
  long *in_RSI;
  
  lVar1 = in_RSI[1];
  *(long *)this = lVar1;
  *(long *)(this + *(long *)(lVar1 + -0x18)) = in_RSI[2];
  *(undefined8 *)(this + 8) = 0;
  wios::init((wios *)(this + *(long *)(lVar1 + -0x18)),(wstreambuf *)0x0);
  lVar1 = in_RSI[3];
  *(long *)(this + 0x10) = lVar1;
  lVar1 = *(long *)(lVar1 + -0x18);
  *(long *)(this + lVar1 + 0x10) = in_RSI[4];
                    /* try { // try from 002d219f to 002d21a3 has its CatchHandler @ 002d21c6 */
  wios::init((wios *)(this + lVar1 + 0x10),(wstreambuf *)0x0);
  lVar1 = *in_RSI;
  *(long *)this = lVar1;
  *(long *)(this + *(long *)(lVar1 + -0x18)) = in_RSI[5];
  *(long *)(this + 0x10) = in_RSI[6];
  return;
}



void FUN_002d2150(long *param_1,long *param_2)

{
  long *plVar1;
  long lVar2;
  
  lVar2 = param_2[1];
  *param_1 = lVar2;
  *(long *)((long)param_1 + *(long *)(lVar2 + -0x18)) = param_2[2];
  param_1[1] = 0;
  FUN_0029d930(*(long *)(lVar2 + -0x18) + (long)param_1,0);
  lVar2 = param_2[3];
  param_1[2] = lVar2;
  plVar1 = (long *)((long)param_1 + *(long *)(lVar2 + -0x18) + 0x10);
  *plVar1 = param_2[4];
                    /* try { // try from 002d219f to 002d21a3 has its CatchHandler @ 002d21c6 */
  FUN_0029d930(plVar1,0);
  lVar2 = *param_2;
  *param_1 = lVar2;
  *(long *)((long)param_1 + *(long *)(lVar2 + -0x18)) = param_2[5];
  param_1[2] = param_2[6];
  return;
}


PUSH RBP
MOV RBP,RSI
PUSH RBX
MOV RBX,RDI
SUB RSP,0x8
MOV RAX,qword ptr [RSI + 0x8]
MOV qword ptr [RDI],RAX
MOV RDX,qword ptr [RAX + -0x18]
MOV RCX,qword ptr [RSI + 0x10]
XOR ESI,ESI
MOV qword ptr [RDI + RDX*0x1],RCX
MOV qword ptr [RDI + 0x8],0x0
MOV RDI,qword ptr [RAX + -0x18]
ADD RDI,RBX
CALL 0x0029d930
MOV RAX,qword ptr [RBP + 0x18]
XOR ESI,ESI
MOV qword ptr [RBX + 0x10],RAX
MOV RAX,qword ptr [RAX + -0x18]
LEA RDI,[RBX + RAX*0x1 + 0x10]
MOV RAX,qword ptr [RBP + 0x20]
MOV qword ptr [RDI],RAX
CALL 0x0029d930
MOV RAX,qword ptr [RBP]
MOV qword ptr [RBX],RAX
MOV RAX,qword ptr [RAX + -0x18]
MOV RDX,qword ptr [RBP + 0x28]
MOV qword ptr [RBX + RAX*0x1],RDX
MOV RAX,qword ptr [RBP + 0x30]
MOV qword ptr [RBX + 0x10],RAX
ADD RSP,0x8
POP RBX
POP RBP
RET
(translation_unit "void FUN_002d2150(long *param_1,long *param_2)\n\n{\n  long *plVar1;\n  long lVar2;\n  \n  lVar2 = param_2[1];\n  *param_1 = lVar2;\n  *(long *)((long)param_1 + *(long *)(lVar2 + -0x18)) = param_2[2];\n  param_1[1] = 0;\n  FUN_0029d930(*(long *)(lVar2 + -0x18) + (long)param_1,0);\n  lVar2 = param_2[3];\n  param_1[2] = lVar2;\n  plVar1 = (long *)((long)param_1 + *(long *)(lVar2 + -0x18) + 0x10);\n  *plVar1 = param_2[4];\n                    /* try { // try from 002d219f to 002d21a3 has its CatchHandler @ 002d21c6 */\n  FUN_0029d930(plVar1,0);\n  lVar2 = *param_2;\n  *param_1 = lVar2;\n  *(long *)((long)param_1 + *(long *)(lVar2 + -0x18)) = param_2[5];\n  param_1[2] = param_2[6];\n  return;\n}\n\n" (function_definition "void FUN_002d2150(long *param_1,long *param_2)\n\n{\n  long *plVar1;\n  long lVar2;\n  \n  lVar2 = param_2[1];\n  *param_1 = lVar2;\n  *(long *)((long)param_1 + *(long *)(lVar2 + -0x18)) = param_2[2];\n  param_1[1] = 0;\n  FUN_0029d930(*(long *)(lVar2 + -0x18) + (long)param_1,0);\n  lVar2 = param_2[3];\n  param_1[2] = lVar2;\n  plVar1 = (long *)((long)param_1 + *(long *)(lVar2 + -0x18) + 0x10);\n  *plVar1 = param_2[4];\n                    /* try { // try from 002d219f to 002d21a3 has its CatchHandler @ 002d21c6 */\n  FUN_0029d930(plVar1,0);\n  lVar2 = *param_2;\n  *param_1 = lVar2;\n  *(long *)((long)param_1 + *(long *)(lVar2 + -0x18)) = param_2[5];\n  param_1[2] = param_2[6];\n  return;\n}" primitive_type (function_declarator "FUN_002d2150(long *param_1,long *param_2)" identifier (parameter_list "(long *param_1,long *param_2)" ( (parameter_declaration "long *param_1" (sized_type_specifier "long" long) (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "long *param_2" (sized_type_specifier "long" long) (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  long *plVar1;\n  long lVar2;\n  \n  lVar2 = param_2[1];\n  *param_1 = lVar2;\n  *(long *)((long)param_1 + *(long *)(lVar2 + -0x18)) = param_2[2];\n  param_1[1] = 0;\n  FUN_0029d930(*(long *)(lVar2 + -0x18) + (long)param_1,0);\n  lVar2 = param_2[3];\n  param_1[2] = lVar2;\n  plVar1 = (long *)((long)param_1 + *(long *)(lVar2 + -0x18) + 0x10);\n  *plVar1 = param_2[4];\n                    /* try { // try from 002d219f to 002d21a3 has its CatchHandler @ 002d21c6 */\n  FUN_0029d930(plVar1,0);\n  lVar2 = *param_2;\n  *param_1 = lVar2;\n  *(long *)((long)param_1 + *(long *)(lVar2 + -0x18)) = param_2[5];\n  param_1[2] = param_2[6];\n  return;\n}" { (declaration "long *plVar1;" (sized_type_specifier "long" long) (pointer_declarator "*plVar1" * identifier) ;) (declaration "long lVar2;" (sized_type_specifier "long" long) identifier ;) (expression_statement "lVar2 = param_2[1];" (assignment_expression "lVar2 = param_2[1]" identifier = (subscript_expression "param_2[1]" identifier [ number_literal ])) ;) (expression_statement "*param_1 = lVar2;" (assignment_expression "*param_1 = lVar2" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "*(long *)((long)param_1 + *(long *)(lVar2 + -0x18)) = param_2[2];" (assignment_expression "*(long *)((long)param_1 + *(long *)(lVar2 + -0x18)) = param_2[2]" (pointer_expression "*(long *)((long)param_1 + *(long *)(lVar2 + -0x18))" * (cast_expression "(long *)((long)param_1 + *(long *)(lVar2 + -0x18))" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + *(long *)(lVar2 + -0x18))" ( (binary_expression "(long)param_1 + *(long *)(lVar2 + -0x18)" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + (pointer_expression "*(long *)(lVar2 + -0x18)" * (cast_expression "(long *)(lVar2 + -0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + -0x18)" ( (binary_expression "lVar2 + -0x18" 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 "FUN_0029d930(*(long *)(lVar2 + -0x18) + (long)param_1,0);" (call_expression "FUN_0029d930(*(long *)(lVar2 + -0x18) + (long)param_1,0)" identifier (argument_list "(*(long *)(lVar2 + -0x18) + (long)param_1,0)" ( (binary_expression "*(long *)(lVar2 + -0x18) + (long)param_1" (pointer_expression "*(long *)(lVar2 + -0x18)" * (cast_expression "(long *)(lVar2 + -0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + -0x18)" ( (binary_expression "lVar2 + -0x18" identifier + number_literal) )))) + (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) , number_literal ))) ;) (expression_statement "lVar2 = param_2[3];" (assignment_expression "lVar2 = param_2[3]" identifier = (subscript_expression "param_2[3]" identifier [ number_literal ])) ;) (expression_statement "param_1[2] = lVar2;" (assignment_expression "param_1[2] = lVar2" (subscript_expression "param_1[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "plVar1 = (long *)((long)param_1 + *(long *)(lVar2 + -0x18) + 0x10);" (assignment_expression "plVar1 = (long *)((long)param_1 + *(long *)(lVar2 + -0x18) + 0x10)" identifier = (cast_expression "(long *)((long)param_1 + *(long *)(lVar2 + -0x18) + 0x10)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + *(long *)(lVar2 + -0x18) + 0x10)" ( (binary_expression "(long)param_1 + *(long *)(lVar2 + -0x18) + 0x10" (binary_expression "(long)param_1 + *(long *)(lVar2 + -0x18)" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + (pointer_expression "*(long *)(lVar2 + -0x18)" * (cast_expression "(long *)(lVar2 + -0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + -0x18)" ( (binary_expression "lVar2 + -0x18" identifier + number_literal) ))))) + number_literal) )))) ;) (expression_statement "*plVar1 = param_2[4];" (assignment_expression "*plVar1 = param_2[4]" (pointer_expression "*plVar1" * identifier) = (subscript_expression "param_2[4]" identifier [ number_literal ])) ;) comment (expression_statement "FUN_0029d930(plVar1,0);" (call_expression "FUN_0029d930(plVar1,0)" identifier (argument_list "(plVar1,0)" ( identifier , number_literal ))) ;) (expression_statement "lVar2 = *param_2;" (assignment_expression "lVar2 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "*param_1 = lVar2;" (assignment_expression "*param_1 = lVar2" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "*(long *)((long)param_1 + *(long *)(lVar2 + -0x18)) = param_2[5];" (assignment_expression "*(long *)((long)param_1 + *(long *)(lVar2 + -0x18)) = param_2[5]" (pointer_expression "*(long *)((long)param_1 + *(long *)(lVar2 + -0x18))" * (cast_expression "(long *)((long)param_1 + *(long *)(lVar2 + -0x18))" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + *(long *)(lVar2 + -0x18))" ( (binary_expression "(long)param_1 + *(long *)(lVar2 + -0x18)" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + (pointer_expression "*(long *)(lVar2 + -0x18)" * (cast_expression "(long *)(lVar2 + -0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + -0x18)" ( (binary_expression "lVar2 + -0x18" 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() */\n\nvoid __thiscall std::wiostream::wiostream(wiostream *this)\n\n{\n  long lVar1;\n  long *in_RSI;\n  \n  lVar1 = in_RSI[1];\n  *(long *)this = lVar1;\n  *(long *)(this + *(long *)(lVar1 + -0x18)) = in_RSI[2];\n  *(undefined8 *)(this + 8) = 0;\n  wios::init((wios *)(this + *(long *)(lVar1 + -0x18)),(wstreambuf *)0x0);\n  lVar1 = in_RSI[3];\n  *(long *)(this + 0x10) = lVar1;\n  lVar1 = *(long *)(lVar1 + -0x18);\n  *(long *)(this + lVar1 + 0x10) = in_RSI[4];\n                    /* try { // try from 002d219f to 002d21a3 has its CatchHandler @ 002d21c6 */\n  wios::init((wios *)(this + lVar1 + 0x10),(wstreambuf *)0x0);\n  lVar1 = *in_RSI;\n  *(long *)this = lVar1;\n  *(long *)(this + *(long *)(lVar1 + -0x18)) = in_RSI[5];\n  *(long *)(this + 0x10) = in_RSI[6];\n  return;\n}\n\n" comment (function_definition "void __thiscall std::wiostream::wiostream(wiostream *this)\n\n{\n  long lVar1;\n  long *in_RSI;\n  \n  lVar1 = in_RSI[1];\n  *(long *)this = lVar1;\n  *(long *)(this + *(long *)(lVar1 + -0x18)) = in_RSI[2];\n  *(undefined8 *)(this + 8) = 0;\n  wios::init((wios *)(this + *(long *)(lVar1 + -0x18)),(wstreambuf *)0x0);\n  lVar1 = in_RSI[3];\n  *(long *)(this + 0x10) = lVar1;\n  lVar1 = *(long *)(lVar1 + -0x18);\n  *(long *)(this + lVar1 + 0x10) = in_RSI[4];\n                    /* try { // try from 002d219f to 002d21a3 has its CatchHandler @ 002d21c6 */\n  wios::init((wios *)(this + lVar1 + 0x10),(wstreambuf *)0x0);\n  lVar1 = *in_RSI;\n  *(long *)this = lVar1;\n  *(long *)(this + *(long *)(lVar1 + -0x18)) = in_RSI[5];\n  *(long *)(this + 0x10) = in_RSI[6];\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  long lVar1;\n  long *in_RSI;\n  \n  lVar1 = in_RSI[1];\n  *(long *)this = lVar1;\n  *(long *)(this + *(long *)(lVar1 + -0x18)) = in_RSI[2];\n  *(undefined8 *)(this + 8) = 0;\n  wios::init((wios *)(this + *(long *)(lVar1 + -0x18)),(wstreambuf *)0x0);\n  lVar1 = in_RSI[3];\n  *(long *)(this + 0x10) = lVar1;\n  lVar1 = *(long *)(lVar1 + -0x18);\n  *(long *)(this + lVar1 + 0x10) = in_RSI[4];\n                    /* try { // try from 002d219f to 002d21a3 has its CatchHandler @ 002d21c6 */\n  wios::init((wios *)(this + lVar1 + 0x10),(wstreambuf *)0x0);\n  lVar1 = *in_RSI;\n  *(long *)this = lVar1;\n  *(long *)(this + *(long *)(lVar1 + -0x18)) = in_RSI[5];\n  *(long *)(this + 0x10) = in_RSI[6];\n  return;\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (declaration "long *in_RSI;" (sized_type_specifier "long" long) (pointer_declarator "*in_RSI" * identifier) ;) (expression_statement "lVar1 = in_RSI[1];" (assignment_expression "lVar1 = in_RSI[1]" identifier = (subscript_expression "in_RSI[1]" identifier [ number_literal ])) ;) (expression_statement "*(long *)this = lVar1;" (assignment_expression "*(long *)this = lVar1" (pointer_expression "*(long *)this" * (cast_expression "(long *)this" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) identifier)) = identifier) ;) (expression_statement "*(long *)(this + *(long *)(lVar1 + -0x18)) = in_RSI[2];" (assignment_expression "*(long *)(this + *(long *)(lVar1 + -0x18)) = in_RSI[2]" (pointer_expression "*(long *)(this + *(long *)(lVar1 + -0x18))" * (cast_expression "(long *)(this + *(long *)(lVar1 + -0x18))" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + *(long *)(lVar1 + -0x18))" ( (binary_expression "this + *(long *)(lVar1 + -0x18)" identifier + (pointer_expression "*(long *)(lVar1 + -0x18)" * (cast_expression "(long *)(lVar1 + -0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + -0x18)" ( (binary_expression "lVar1 + -0x18" identifier + number_literal) ))))) )))) = (subscript_expression "in_RSI[2]" identifier [ number_literal ])) ;) (expression_statement "*(undefined8 *)(this + 8) = 0;" (assignment_expression "*(undefined8 *)(this + 8) = 0" (pointer_expression "*(undefined8 *)(this + 8)" * (cast_expression "(undefined8 *)(this + 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) )))) = number_literal) ;) (labeled_statement "wios::init((wios *)(this + *(long *)(lVar1 + -0x18)),(wstreambuf *)0x0);" statement_identifier : (ERROR ":" :) (expression_statement "init((wios *)(this + *(long *)(lVar1 + -0x18)),(wstreambuf *)0x0);" (call_expression "init((wios *)(this + *(long *)(lVar1 + -0x18)),(wstreambuf *)0x0)" identifier (argument_list "((wios *)(this + *(long *)(lVar1 + -0x18)),(wstreambuf *)0x0)" ( (cast_expression "(wios *)(this + *(long *)(lVar1 + -0x18))" ( (type_descriptor "wios *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + *(long *)(lVar1 + -0x18))" ( (binary_expression "this + *(long *)(lVar1 + -0x18)" identifier + (pointer_expression "*(long *)(lVar1 + -0x18)" * (cast_expression "(long *)(lVar1 + -0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + -0x18)" ( (binary_expression "lVar1 + -0x18" identifier + number_literal) ))))) ))) , (cast_expression "(wstreambuf *)0x0" ( (type_descriptor "wstreambuf *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ))) ;)) (expression_statement "lVar1 = in_RSI[3];" (assignment_expression "lVar1 = in_RSI[3]" identifier = (subscript_expression "in_RSI[3]" identifier [ number_literal ])) ;) (expression_statement "*(long *)(this + 0x10) = lVar1;" (assignment_expression "*(long *)(this + 0x10) = lVar1" (pointer_expression "*(long *)(this + 0x10)" * (cast_expression "(long *)(this + 0x10)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x10)" ( (binary_expression "this + 0x10" identifier + number_literal) )))) = identifier) ;) (expression_statement "lVar1 = *(long *)(lVar1 + -0x18);" (assignment_expression "lVar1 = *(long *)(lVar1 + -0x18)" identifier = (pointer_expression "*(long *)(lVar1 + -0x18)" * (cast_expression "(long *)(lVar1 + -0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + -0x18)" ( (binary_expression "lVar1 + -0x18" identifier + number_literal) ))))) ;) (expression_statement "*(long *)(this + lVar1 + 0x10) = in_RSI[4];" (assignment_expression "*(long *)(this + lVar1 + 0x10) = in_RSI[4]" (pointer_expression "*(long *)(this + lVar1 + 0x10)" * (cast_expression "(long *)(this + lVar1 + 0x10)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + lVar1 + 0x10)" ( (binary_expression "this + lVar1 + 0x10" (binary_expression "this + lVar1" identifier + identifier) + number_literal) )))) = (subscript_expression "in_RSI[4]" identifier [ number_literal ])) ;) comment (labeled_statement "wios::init((wios *)(this + lVar1 + 0x10),(wstreambuf *)0x0);" statement_identifier : (ERROR ":" :) (expression_statement "init((wios *)(this + lVar1 + 0x10),(wstreambuf *)0x0);" (call_expression "init((wios *)(this + lVar1 + 0x10),(wstreambuf *)0x0)" identifier (argument_list "((wios *)(this + lVar1 + 0x10),(wstreambuf *)0x0)" ( (cast_expression "(wios *)(this + lVar1 + 0x10)" ( (type_descriptor "wios *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + lVar1 + 0x10)" ( (binary_expression "this + lVar1 + 0x10" (binary_expression "this + lVar1" identifier + identifier) + number_literal) ))) , (cast_expression "(wstreambuf *)0x0" ( (type_descriptor "wstreambuf *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ))) ;)) (expression_statement "lVar1 = *in_RSI;" (assignment_expression "lVar1 = *in_RSI" identifier = (pointer_expression "*in_RSI" * identifier)) ;) (expression_statement "*(long *)this = lVar1;" (assignment_expression "*(long *)this = lVar1" (pointer_expression "*(long *)this" * (cast_expression "(long *)this" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) identifier)) = identifier) ;) (expression_statement "*(long *)(this + *(long *)(lVar1 + -0x18)) = in_RSI[5];" (assignment_expression "*(long *)(this + *(long *)(lVar1 + -0x18)) = in_RSI[5]" (pointer_expression "*(long *)(this + *(long *)(lVar1 + -0x18))" * (cast_expression "(long *)(this + *(long *)(lVar1 + -0x18))" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + *(long *)(lVar1 + -0x18))" ( (binary_expression "this + *(long *)(lVar1 + -0x18)" identifier + (pointer_expression "*(long *)(lVar1 + -0x18)" * (cast_expression "(long *)(lVar1 + -0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + -0x18)" ( (binary_expression "lVar1 + -0x18" identifier + number_literal) ))))) )))) = (subscript_expression "in_RSI[5]" identifier [ number_literal ])) ;) (expression_statement "*(long *)(this + 0x10) = in_RSI[6];" (assignment_expression "*(long *)(this + 0x10) = in_RSI[6]" (pointer_expression "*(long *)(this + 0x10)" * (cast_expression "(long *)(this + 0x10)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x10)" ( (binary_expression "this + 0x10" identifier + number_literal) )))) = (subscript_expression "in_RSI[6]" identifier [ number_literal ])) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_002d2150(long *param_1,long *param_2)\n\n{\n  long *plVar1;\n  long lVar2;\n  \n  lVar2 = param_2[1];\n  *param_1 = lVar2;\n  *(long *)((long)param_1 + *(long *)(lVar2 + -0x18)) = param_2[2];\n  param_1[1] = 0;\n  FUN_0029d930(*(long *)(lVar2 + -0x18) + (long)param_1,0);\n  lVar2 = param_2[3];\n  param_1[2] = lVar2;\n  plVar1 = (long *)((long)param_1 + *(long *)(lVar2 + -0x18) + 0x10);\n  *plVar1 = param_2[4];\n                    \n  FUN_0029d930(plVar1,0);\n  lVar2 = *param_2;\n  *param_1 = lVar2;\n  *(long *)((long)param_1 + *(long *)(lVar2 + -0x18)) = param_2[5];\n  param_1[2] = param_2[6];\n  return;\n}\n\n" (function_definition "void FUN_002d2150(long *param_1,long *param_2)\n\n{\n  long *plVar1;\n  long lVar2;\n  \n  lVar2 = param_2[1];\n  *param_1 = lVar2;\n  *(long *)((long)param_1 + *(long *)(lVar2 + -0x18)) = param_2[2];\n  param_1[1] = 0;\n  FUN_0029d930(*(long *)(lVar2 + -0x18) + (long)param_1,0);\n  lVar2 = param_2[3];\n  param_1[2] = lVar2;\n  plVar1 = (long *)((long)param_1 + *(long *)(lVar2 + -0x18) + 0x10);\n  *plVar1 = param_2[4];\n                    \n  FUN_0029d930(plVar1,0);\n  lVar2 = *param_2;\n  *param_1 = lVar2;\n  *(long *)((long)param_1 + *(long *)(lVar2 + -0x18)) = param_2[5];\n  param_1[2] = param_2[6];\n  return;\n}" primitive_type (function_declarator "FUN_002d2150(long *param_1,long *param_2)" identifier (parameter_list "(long *param_1,long *param_2)" ( (parameter_declaration "long *param_1" (sized_type_specifier "long" long) (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "long *param_2" (sized_type_specifier "long" long) (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  long *plVar1;\n  long lVar2;\n  \n  lVar2 = param_2[1];\n  *param_1 = lVar2;\n  *(long *)((long)param_1 + *(long *)(lVar2 + -0x18)) = param_2[2];\n  param_1[1] = 0;\n  FUN_0029d930(*(long *)(lVar2 + -0x18) + (long)param_1,0);\n  lVar2 = param_2[3];\n  param_1[2] = lVar2;\n  plVar1 = (long *)((long)param_1 + *(long *)(lVar2 + -0x18) + 0x10);\n  *plVar1 = param_2[4];\n                    \n  FUN_0029d930(plVar1,0);\n  lVar2 = *param_2;\n  *param_1 = lVar2;\n  *(long *)((long)param_1 + *(long *)(lVar2 + -0x18)) = param_2[5];\n  param_1[2] = param_2[6];\n  return;\n}" { (declaration "long *plVar1;" (sized_type_specifier "long" long) (pointer_declarator "*plVar1" * identifier) ;) (declaration "long lVar2;" (sized_type_specifier "long" long) identifier ;) (expression_statement "lVar2 = param_2[1];" (assignment_expression "lVar2 = param_2[1]" identifier = (subscript_expression "param_2[1]" identifier [ number_literal ])) ;) (expression_statement "*param_1 = lVar2;" (assignment_expression "*param_1 = lVar2" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "*(long *)((long)param_1 + *(long *)(lVar2 + -0x18)) = param_2[2];" (assignment_expression "*(long *)((long)param_1 + *(long *)(lVar2 + -0x18)) = param_2[2]" (pointer_expression "*(long *)((long)param_1 + *(long *)(lVar2 + -0x18))" * (cast_expression "(long *)((long)param_1 + *(long *)(lVar2 + -0x18))" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + *(long *)(lVar2 + -0x18))" ( (binary_expression "(long)param_1 + *(long *)(lVar2 + -0x18)" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + (pointer_expression "*(long *)(lVar2 + -0x18)" * (cast_expression "(long *)(lVar2 + -0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + -0x18)" ( (binary_expression "lVar2 + -0x18" 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 "FUN_0029d930(*(long *)(lVar2 + -0x18) + (long)param_1,0);" (call_expression "FUN_0029d930(*(long *)(lVar2 + -0x18) + (long)param_1,0)" identifier (argument_list "(*(long *)(lVar2 + -0x18) + (long)param_1,0)" ( (binary_expression "*(long *)(lVar2 + -0x18) + (long)param_1" (pointer_expression "*(long *)(lVar2 + -0x18)" * (cast_expression "(long *)(lVar2 + -0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + -0x18)" ( (binary_expression "lVar2 + -0x18" identifier + number_literal) )))) + (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) , number_literal ))) ;) (expression_statement "lVar2 = param_2[3];" (assignment_expression "lVar2 = param_2[3]" identifier = (subscript_expression "param_2[3]" identifier [ number_literal ])) ;) (expression_statement "param_1[2] = lVar2;" (assignment_expression "param_1[2] = lVar2" (subscript_expression "param_1[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "plVar1 = (long *)((long)param_1 + *(long *)(lVar2 + -0x18) + 0x10);" (assignment_expression "plVar1 = (long *)((long)param_1 + *(long *)(lVar2 + -0x18) + 0x10)" identifier = (cast_expression "(long *)((long)param_1 + *(long *)(lVar2 + -0x18) + 0x10)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + *(long *)(lVar2 + -0x18) + 0x10)" ( (binary_expression "(long)param_1 + *(long *)(lVar2 + -0x18) + 0x10" (binary_expression "(long)param_1 + *(long *)(lVar2 + -0x18)" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + (pointer_expression "*(long *)(lVar2 + -0x18)" * (cast_expression "(long *)(lVar2 + -0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + -0x18)" ( (binary_expression "lVar2 + -0x18" identifier + number_literal) ))))) + number_literal) )))) ;) (expression_statement "*plVar1 = param_2[4];" (assignment_expression "*plVar1 = param_2[4]" (pointer_expression "*plVar1" * identifier) = (subscript_expression "param_2[4]" identifier [ number_literal ])) ;) (expression_statement "FUN_0029d930(plVar1,0);" (call_expression "FUN_0029d930(plVar1,0)" identifier (argument_list "(plVar1,0)" ( identifier , number_literal ))) ;) (expression_statement "lVar2 = *param_2;" (assignment_expression "lVar2 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "*param_1 = lVar2;" (assignment_expression "*param_1 = lVar2" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "*(long *)((long)param_1 + *(long *)(lVar2 + -0x18)) = param_2[5];" (assignment_expression "*(long *)((long)param_1 + *(long *)(lVar2 + -0x18)) = param_2[5]" (pointer_expression "*(long *)((long)param_1 + *(long *)(lVar2 + -0x18))" * (cast_expression "(long *)((long)param_1 + *(long *)(lVar2 + -0x18))" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + *(long *)(lVar2 + -0x18))" ( (binary_expression "(long)param_1 + *(long *)(lVar2 + -0x18)" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + (pointer_expression "*(long *)(lVar2 + -0x18)" * (cast_expression "(long *)(lVar2 + -0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + -0x18)" ( (binary_expression "lVar2 + -0x18" 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 (sized_type_specifier long) (pointer_declarator * IDENT)) , (parameter_declaration (sized_type_specifier long) (pointer_declarator * IDENT)) ))) (compound_statement { (declaration (sized_type_specifier long) (pointer_declarator * IDENT) ;) (declaration (sized_type_specifier long) 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 (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (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 IDENT (argument_list ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT)) , LIT ))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (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 IDENT (argument_list ( IDENT , LIT ))) ;) (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 (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (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_002d2150(long *param_1,long *param_2)\n\n{\n  long *plVar1;\n  long lVar2;\n  \n  lVar2 = param_2[1];\n  *param_1 = lVar2;\n  *(long *)((long)param_1 + *(long *)(lVar2 + -0x18)) = param_2[2];\n  param_1[1] = 0;\n  FUN_0029d930(*(long *)(lVar2 + -0x18) + (long)param_1,0);\n  lVar2 = param_2[3];\n  param_1[2] = lVar2;\n  plVar1 = (long *)((long)param_1 + *(long *)(lVar2 + -0x18) + 0x10);\n  *plVar1 = param_2[4];\n                    \n  FUN_0029d930(plVar1,0);\n  lVar2 = *param_2;\n  *param_1 = lVar2;\n  *(long *)((long)param_1 + *(long *)(lVar2 + -0x18)) = param_2[5];\n  param_1[2] = param_2[6];\n  return;\n}" (primitive_type "void") (function_declarator "FUN_002d2150(long *param_1,long *param_2)" (identifier "FUN_002d2150") (parameter_list "(long *param_1,long *param_2)" (( "(") (parameter_declaration "long *param_1" (sized_type_specifier "long" (long "long")) (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "long *param_2" (sized_type_specifier "long" (long "long")) (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  long *plVar1;\n  long lVar2;\n  \n  lVar2 = param_2[1];\n  *param_1 = lVar2;\n  *(long *)((long)param_1 + *(long *)(lVar2 + -0x18)) = param_2[2];\n  param_1[1] = 0;\n  FUN_0029d930(*(long *)(lVar2 + -0x18) + (long)param_1,0);\n  lVar2 = param_2[3];\n  param_1[2] = lVar2;\n  plVar1 = (long *)((long)param_1 + *(long *)(lVar2 + -0x18) + 0x10);\n  *plVar1 = param_2[4];\n                    \n  FUN_0029d930(plVar1,0);\n  lVar2 = *param_2;\n  *param_1 = lVar2;\n  *(long *)((long)param_1 + *(long *)(lVar2 + -0x18)) = param_2[5];\n  param_1[2] = param_2[6];\n  return;\n}" ({ "{") (declaration "long *plVar1;" (sized_type_specifier "long" (long "long")) (pointer_declarator "*plVar1" (* "*") (identifier "plVar1")) (; ";")) (declaration "long lVar2;" (sized_type_specifier "long" (long "long")) (identifier "lVar2") (; ";")) (expression_statement "lVar2 = param_2[1];" (assignment_expression "lVar2 = param_2[1]" (identifier "lVar2") (= "=") (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "*param_1 = lVar2;" (assignment_expression "*param_1 = lVar2" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (identifier "lVar2")) (; ";")) (expression_statement "*(long *)((long)param_1 + *(long *)(lVar2 + -0x18)) = param_2[2];" (assignment_expression "*(long *)((long)param_1 + *(long *)(lVar2 + -0x18)) = param_2[2]" (pointer_expression "*(long *)((long)param_1 + *(long *)(lVar2 + -0x18))" (* "*") (cast_expression "(long *)((long)param_1 + *(long *)(lVar2 + -0x18))" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)param_1 + *(long *)(lVar2 + -0x18))" (( "(") (binary_expression "(long)param_1 + *(long *)(lVar2 + -0x18)" (cast_expression "(long)param_1" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_1")) (+ "+") (pointer_expression "*(long *)(lVar2 + -0x18)" (* "*") (cast_expression "(long *)(lVar2 + -0x18)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar2 + -0x18)" (( "(") (binary_expression "lVar2 + -0x18" (identifier "lVar2") (+ "+") (number_literal "-0x18")) () ")"))))) () ")")))) (= "=") (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 "FUN_0029d930(*(long *)(lVar2 + -0x18) + (long)param_1,0);" (call_expression "FUN_0029d930(*(long *)(lVar2 + -0x18) + (long)param_1,0)" (identifier "FUN_0029d930") (argument_list "(*(long *)(lVar2 + -0x18) + (long)param_1,0)" (( "(") (binary_expression "*(long *)(lVar2 + -0x18) + (long)param_1" (pointer_expression "*(long *)(lVar2 + -0x18)" (* "*") (cast_expression "(long *)(lVar2 + -0x18)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar2 + -0x18)" (( "(") (binary_expression "lVar2 + -0x18" (identifier "lVar2") (+ "+") (number_literal "-0x18")) () ")")))) (+ "+") (cast_expression "(long)param_1" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_1"))) (, ",") (number_literal "0") () ")"))) (; ";")) (expression_statement "lVar2 = param_2[3];" (assignment_expression "lVar2 = param_2[3]" (identifier "lVar2") (= "=") (subscript_expression "param_2[3]" (identifier "param_2") ([ "[") (number_literal "3") (] "]"))) (; ";")) (expression_statement "param_1[2] = lVar2;" (assignment_expression "param_1[2] = lVar2" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "lVar2")) (; ";")) (expression_statement "plVar1 = (long *)((long)param_1 + *(long *)(lVar2 + -0x18) + 0x10);" (assignment_expression "plVar1 = (long *)((long)param_1 + *(long *)(lVar2 + -0x18) + 0x10)" (identifier "plVar1") (= "=") (cast_expression "(long *)((long)param_1 + *(long *)(lVar2 + -0x18) + 0x10)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)param_1 + *(long *)(lVar2 + -0x18) + 0x10)" (( "(") (binary_expression "(long)param_1 + *(long *)(lVar2 + -0x18) + 0x10" (binary_expression "(long)param_1 + *(long *)(lVar2 + -0x18)" (cast_expression "(long)param_1" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_1")) (+ "+") (pointer_expression "*(long *)(lVar2 + -0x18)" (* "*") (cast_expression "(long *)(lVar2 + -0x18)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar2 + -0x18)" (( "(") (binary_expression "lVar2 + -0x18" (identifier "lVar2") (+ "+") (number_literal "-0x18")) () ")"))))) (+ "+") (number_literal "0x10")) () ")")))) (; ";")) (expression_statement "*plVar1 = param_2[4];" (assignment_expression "*plVar1 = param_2[4]" (pointer_expression "*plVar1" (* "*") (identifier "plVar1")) (= "=") (subscript_expression "param_2[4]" (identifier "param_2") ([ "[") (number_literal "4") (] "]"))) (; ";")) (expression_statement "FUN_0029d930(plVar1,0);" (call_expression "FUN_0029d930(plVar1,0)" (identifier "FUN_0029d930") (argument_list "(plVar1,0)" (( "(") (identifier "plVar1") (, ",") (number_literal "0") () ")"))) (; ";")) (expression_statement "lVar2 = *param_2;" (assignment_expression "lVar2 = *param_2" (identifier "lVar2") (= "=") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) (; ";")) (expression_statement "*param_1 = lVar2;" (assignment_expression "*param_1 = lVar2" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (identifier "lVar2")) (; ";")) (expression_statement "*(long *)((long)param_1 + *(long *)(lVar2 + -0x18)) = param_2[5];" (assignment_expression "*(long *)((long)param_1 + *(long *)(lVar2 + -0x18)) = param_2[5]" (pointer_expression "*(long *)((long)param_1 + *(long *)(lVar2 + -0x18))" (* "*") (cast_expression "(long *)((long)param_1 + *(long *)(lVar2 + -0x18))" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)param_1 + *(long *)(lVar2 + -0x18))" (( "(") (binary_expression "(long)param_1 + *(long *)(lVar2 + -0x18)" (cast_expression "(long)param_1" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_1")) (+ "+") (pointer_expression "*(long *)(lVar2 + -0x18)" (* "*") (cast_expression "(long *)(lVar2 + -0x18)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar2 + -0x18)" (( "(") (binary_expression "lVar2 + -0x18" (identifier "lVar2") (+ "+") (number_literal "-0x18")) () ")"))))) () ")")))) (= "=") (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() */

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

{
  long var_2;
  long *in_RSI;
  
  var_2 = in_RSI[1];
  *(long *)var_1 = var_2;
  *(long *)(var_1 + *(long *)(var_2 + -0x18)) = in_RSI[2];
  *(type_1 *)(var_1 + 8) = 0;
  wios::var_3((type_2 *)(var_1 + *(long *)(var_2 + -0x18)),(type_3 *)0x0);
  var_2 = in_RSI[3];
  *(long *)(var_1 + 0x10) = var_2;
  var_2 = *(long *)(var_2 + -0x18);
  *(long *)(var_1 + var_2 + 0x10) = in_RSI[4];
                    /* try { // try from 002d219f to 002d21a3 has its CatchHandler @ 002d21c6 */
  wios::var_3((type_2 *)(var_1 + var_2 + 0x10),(type_3 *)0x0);
  var_2 = *in_RSI;
  *(long *)var_1 = var_2;
  *(long *)(var_1 + *(long *)(var_2 + -0x18)) = in_RSI[5];
  *(long *)(var_1 + 0x10) = in_RSI[6];
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (sized_type_specifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (sized_type_specifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (sized_type_specifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (sized_type_specifier) declarator: (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: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (sized_type_specifier)) value: (identifier)) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) 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: (identifier) arguments: (argument_list (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (cast_expression type: (type_descriptor type: (sized_type_specifier)) value: (identifier))) (number_literal)))) (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: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (cast_expression type: (type_descriptor type: (sized_type_specifier)) value: (identifier)) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) 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: (identifier) arguments: (argument_list (identifier) (number_literal)))) (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: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (sized_type_specifier)) value: (identifier)) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) 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(long *param_1,long *param_2)

{
  long *plVar1;
  long lVar2;
  
  lVar2 = param_2[1];
  *param_1 = lVar2;
  *(long *)((long)param_1 + *(long *)(lVar2 + -0x18)) = param_2[2];
  param_1[1] = 0;
  FUN_0029d930(*(long *)(lVar2 + -0x18) + (long)param_1,0);
  lVar2 = param_2[3];
  param_1[2] = lVar2;
  plVar1 = (long *)((long)param_1 + *(long *)(lVar2 + -0x18) + 0x10);
  *plVar1 = param_2[4];
                    /* try { // try from 002d219f to 002d21a3 has its CatchHandler @ 002d21c6 */
  FUN_0029d930(plVar1,0);
  lVar2 = *param_2;
  *param_1 = lVar2;
  *(long *)((long)param_1 + *(long *)(lVar2 + -0x18)) = param_2[5];
  param_1[2] = param_2[6];
  return;
}

