
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* std::ostream::ostream(std::ostream&&) */

void __thiscall std::ostream::ostream(ostream *this,ostream *param_1)

{
  ios_base iVar1;
  int iVar2;
  undefined4 uVar3;
  ios_base *this_00;
  ios_base *piVar4;
  int *in_stack_0000000c;
  
  iVar2 = *(int *)param_1;
  *(int *)this = iVar2;
  this_00 = (ios_base *)(this + *(int *)(iVar2 + -0xc));
  *(undefined4 *)this_00 = *(undefined4 *)(param_1 + 4);
  piVar4 = (ios_base *)((int)in_stack_0000000c + *(int *)(*in_stack_0000000c + -0xc));
  ios_base::_M_move(this_00,piVar4);
  ios::_M_cache_locale((ios *)this_00,(locale *)(this_00 + 0x6c));
  uVar3 = *(undefined4 *)(piVar4 + 0x70);
  *(undefined4 *)(piVar4 + 0x70) = 0;
  *(undefined4 *)(this_00 + 0x70) = uVar3;
  this_00[0x74] = piVar4[0x74];
  iVar1 = piVar4[0x75];
  *(undefined4 *)(this_00 + 0x78) = 0;
  this_00[0x75] = iVar1;
  return;
}



/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

void FUN_0018d590(int *param_1,int *param_2,int *param_3)

{
  undefined1 uVar1;
  int iVar2;
  int iVar3;
  
  iVar2 = *param_2;
  *param_1 = iVar2;
  param_1 = (int *)((int)param_1 + *(int *)(iVar2 + -0xc));
  *param_1 = param_2[1];
  iVar3 = (int)param_3 + *(int *)(*param_3 + -0xc);
  FUN_001c5ad0(param_1,iVar3);
  FUN_001aa9f0(param_1,param_1 + 0x1b);
  iVar2 = *(int *)(iVar3 + 0x70);
  *(undefined4 *)(iVar3 + 0x70) = 0;
  param_1[0x1c] = iVar2;
  *(undefined1 *)(param_1 + 0x1d) = *(undefined1 *)(iVar3 + 0x74);
  uVar1 = *(undefined1 *)(iVar3 + 0x75);
  param_1[0x1e] = 0;
  *(undefined1 *)((int)param_1 + 0x75) = uVar1;
  return;
}


PUSH EDI
PUSH ESI
PUSH EBX
MOV EAX,dword ptr [ESP + 0x14]
CALL 0x00032730
ADD EBX,0x174a64
MOV ESI,dword ptr [ESP + 0x10]
MOV EDI,dword ptr [ESP + 0x18]
MOV EDX,dword ptr [EAX]
SUB ESP,0x8
MOV dword ptr [ESI],EDX
MOV EAX,dword ptr [EAX + 0x4]
ADD ESI,dword ptr [EDX + -0xc]
MOV dword ptr [ESI],EAX
MOV EAX,dword ptr [EDI]
ADD EDI,dword ptr [EAX + -0xc]
PUSH EDI
PUSH ESI
CALL 0x001c5ad0
POP EAX
LEA EAX,[ESI + 0x6c]
POP EDX
PUSH EAX
PUSH ESI
CALL 0x001aa9f0
MOV EAX,dword ptr [EDI + 0x70]
MOV dword ptr [EDI + 0x70],0x0
ADD ESP,0x10
MOV dword ptr [ESI + 0x70],EAX
MOVZX EAX,byte ptr [EDI + 0x74]
MOV byte ptr [ESI + 0x74],AL
MOVZX EAX,byte ptr [EDI + 0x75]
MOV dword ptr [ESI + 0x78],0x0
MOV byte ptr [ESI + 0x75],AL
POP EBX
POP ESI
POP EDI
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_0018d590(int *param_1,int *param_2,int *param_3)\n\n{\n  undefined1 uVar1;\n  int iVar2;\n  int iVar3;\n  \n  iVar2 = *param_2;\n  *param_1 = iVar2;\n  param_1 = (int *)((int)param_1 + *(int *)(iVar2 + -0xc));\n  *param_1 = param_2[1];\n  iVar3 = (int)param_3 + *(int *)(*param_3 + -0xc);\n  FUN_001c5ad0(param_1,iVar3);\n  FUN_001aa9f0(param_1,param_1 + 0x1b);\n  iVar2 = *(int *)(iVar3 + 0x70);\n  *(undefined4 *)(iVar3 + 0x70) = 0;\n  param_1[0x1c] = iVar2;\n  *(undefined1 *)(param_1 + 0x1d) = *(undefined1 *)(iVar3 + 0x74);\n  uVar1 = *(undefined1 *)(iVar3 + 0x75);\n  param_1[0x1e] = 0;\n  *(undefined1 *)((int)param_1 + 0x75) = uVar1;\n  return;\n}\n\n" comment (function_definition "void FUN_0018d590(int *param_1,int *param_2,int *param_3)\n\n{\n  undefined1 uVar1;\n  int iVar2;\n  int iVar3;\n  \n  iVar2 = *param_2;\n  *param_1 = iVar2;\n  param_1 = (int *)((int)param_1 + *(int *)(iVar2 + -0xc));\n  *param_1 = param_2[1];\n  iVar3 = (int)param_3 + *(int *)(*param_3 + -0xc);\n  FUN_001c5ad0(param_1,iVar3);\n  FUN_001aa9f0(param_1,param_1 + 0x1b);\n  iVar2 = *(int *)(iVar3 + 0x70);\n  *(undefined4 *)(iVar3 + 0x70) = 0;\n  param_1[0x1c] = iVar2;\n  *(undefined1 *)(param_1 + 0x1d) = *(undefined1 *)(iVar3 + 0x74);\n  uVar1 = *(undefined1 *)(iVar3 + 0x75);\n  param_1[0x1e] = 0;\n  *(undefined1 *)((int)param_1 + 0x75) = uVar1;\n  return;\n}" primitive_type (function_declarator "FUN_0018d590(int *param_1,int *param_2,int *param_3)" identifier (parameter_list "(int *param_1,int *param_2,int *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 "int *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  undefined1 uVar1;\n  int iVar2;\n  int iVar3;\n  \n  iVar2 = *param_2;\n  *param_1 = iVar2;\n  param_1 = (int *)((int)param_1 + *(int *)(iVar2 + -0xc));\n  *param_1 = param_2[1];\n  iVar3 = (int)param_3 + *(int *)(*param_3 + -0xc);\n  FUN_001c5ad0(param_1,iVar3);\n  FUN_001aa9f0(param_1,param_1 + 0x1b);\n  iVar2 = *(int *)(iVar3 + 0x70);\n  *(undefined4 *)(iVar3 + 0x70) = 0;\n  param_1[0x1c] = iVar2;\n  *(undefined1 *)(param_1 + 0x1d) = *(undefined1 *)(iVar3 + 0x74);\n  uVar1 = *(undefined1 *)(iVar3 + 0x75);\n  param_1[0x1e] = 0;\n  *(undefined1 *)((int)param_1 + 0x75) = uVar1;\n  return;\n}" { (declaration "undefined1 uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type 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 "param_1 = (int *)((int)param_1 + *(int *)(iVar2 + -0xc));" (assignment_expression "param_1 = (int *)((int)param_1 + *(int *)(iVar2 + -0xc))" identifier = (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) ))))) )))) ;) (expression_statement "*param_1 = param_2[1];" (assignment_expression "*param_1 = param_2[1]" (pointer_expression "*param_1" * identifier) = (subscript_expression "param_2[1]" identifier [ number_literal ])) ;) (expression_statement "iVar3 = (int)param_3 + *(int *)(*param_3 + -0xc);" (assignment_expression "iVar3 = (int)param_3 + *(int *)(*param_3 + -0xc)" identifier = (binary_expression "(int)param_3 + *(int *)(*param_3 + -0xc)" (cast_expression "(int)param_3" ( (type_descriptor "int" primitive_type) ) identifier) + (pointer_expression "*(int *)(*param_3 + -0xc)" * (cast_expression "(int *)(*param_3 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_3 + -0xc)" ( (binary_expression "*param_3 + -0xc" (pointer_expression "*param_3" * identifier) + number_literal) )))))) ;) (expression_statement "FUN_001c5ad0(param_1,iVar3);" (call_expression "FUN_001c5ad0(param_1,iVar3)" identifier (argument_list "(param_1,iVar3)" ( identifier , identifier ))) ;) (expression_statement "FUN_001aa9f0(param_1,param_1 + 0x1b);" (call_expression "FUN_001aa9f0(param_1,param_1 + 0x1b)" identifier (argument_list "(param_1,param_1 + 0x1b)" ( identifier , (binary_expression "param_1 + 0x1b" identifier + number_literal) ))) ;) (expression_statement "iVar2 = *(int *)(iVar3 + 0x70);" (assignment_expression "iVar2 = *(int *)(iVar3 + 0x70)" identifier = (pointer_expression "*(int *)(iVar3 + 0x70)" * (cast_expression "(int *)(iVar3 + 0x70)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x70)" ( (binary_expression "iVar3 + 0x70" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(iVar3 + 0x70) = 0;" (assignment_expression "*(undefined4 *)(iVar3 + 0x70) = 0" (pointer_expression "*(undefined4 *)(iVar3 + 0x70)" * (cast_expression "(undefined4 *)(iVar3 + 0x70)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x70)" ( (binary_expression "iVar3 + 0x70" identifier + number_literal) )))) = number_literal) ;) (expression_statement "param_1[0x1c] = iVar2;" (assignment_expression "param_1[0x1c] = iVar2" (subscript_expression "param_1[0x1c]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*(undefined1 *)(param_1 + 0x1d) = *(undefined1 *)(iVar3 + 0x74);" (assignment_expression "*(undefined1 *)(param_1 + 0x1d) = *(undefined1 *)(iVar3 + 0x74)" (pointer_expression "*(undefined1 *)(param_1 + 0x1d)" * (cast_expression "(undefined1 *)(param_1 + 0x1d)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1d)" ( (binary_expression "param_1 + 0x1d" identifier + number_literal) )))) = (pointer_expression "*(undefined1 *)(iVar3 + 0x74)" * (cast_expression "(undefined1 *)(iVar3 + 0x74)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x74)" ( (binary_expression "iVar3 + 0x74" identifier + number_literal) ))))) ;) (expression_statement "uVar1 = *(undefined1 *)(iVar3 + 0x75);" (assignment_expression "uVar1 = *(undefined1 *)(iVar3 + 0x75)" identifier = (pointer_expression "*(undefined1 *)(iVar3 + 0x75)" * (cast_expression "(undefined1 *)(iVar3 + 0x75)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x75)" ( (binary_expression "iVar3 + 0x75" identifier + number_literal) ))))) ;) (expression_statement "param_1[0x1e] = 0;" (assignment_expression "param_1[0x1e] = 0" (subscript_expression "param_1[0x1e]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined1 *)((int)param_1 + 0x75) = uVar1;" (assignment_expression "*(undefined1 *)((int)param_1 + 0x75) = uVar1" (pointer_expression "*(undefined1 *)((int)param_1 + 0x75)" * (cast_expression "(undefined1 *)((int)param_1 + 0x75)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 0x75)" ( (binary_expression "(int)param_1 + 0x75" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* std::ostream::ostream(std::ostream&&) */\n\nvoid __thiscall std::ostream::ostream(ostream *this,ostream *param_1)\n\n{\n  ios_base iVar1;\n  int iVar2;\n  undefined4 uVar3;\n  ios_base *this_00;\n  ios_base *piVar4;\n  int *in_stack_0000000c;\n  \n  iVar2 = *(int *)param_1;\n  *(int *)this = iVar2;\n  this_00 = (ios_base *)(this + *(int *)(iVar2 + -0xc));\n  *(undefined4 *)this_00 = *(undefined4 *)(param_1 + 4);\n  piVar4 = (ios_base *)((int)in_stack_0000000c + *(int *)(*in_stack_0000000c + -0xc));\n  ios_base::_M_move(this_00,piVar4);\n  ios::_M_cache_locale((ios *)this_00,(locale *)(this_00 + 0x6c));\n  uVar3 = *(undefined4 *)(piVar4 + 0x70);\n  *(undefined4 *)(piVar4 + 0x70) = 0;\n  *(undefined4 *)(this_00 + 0x70) = uVar3;\n  this_00[0x74] = piVar4[0x74];\n  iVar1 = piVar4[0x75];\n  *(undefined4 *)(this_00 + 0x78) = 0;\n  this_00[0x75] = iVar1;\n  return;\n}\n\n" comment comment (function_definition "void __thiscall std::ostream::ostream(ostream *this,ostream *param_1)\n\n{\n  ios_base iVar1;\n  int iVar2;\n  undefined4 uVar3;\n  ios_base *this_00;\n  ios_base *piVar4;\n  int *in_stack_0000000c;\n  \n  iVar2 = *(int *)param_1;\n  *(int *)this = iVar2;\n  this_00 = (ios_base *)(this + *(int *)(iVar2 + -0xc));\n  *(undefined4 *)this_00 = *(undefined4 *)(param_1 + 4);\n  piVar4 = (ios_base *)((int)in_stack_0000000c + *(int *)(*in_stack_0000000c + -0xc));\n  ios_base::_M_move(this_00,piVar4);\n  ios::_M_cache_locale((ios *)this_00,(locale *)(this_00 + 0x6c));\n  uVar3 = *(undefined4 *)(piVar4 + 0x70);\n  *(undefined4 *)(piVar4 + 0x70) = 0;\n  *(undefined4 *)(this_00 + 0x70) = uVar3;\n  this_00[0x74] = piVar4[0x74];\n  iVar1 = piVar4[0x75];\n  *(undefined4 *)(this_00 + 0x78) = 0;\n  this_00[0x75] = iVar1;\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::ostream::" identifier : : identifier : :) (function_declarator "ostream(ostream *this,ostream *param_1)" identifier (parameter_list "(ostream *this,ostream *param_1)" ( (parameter_declaration "ostream *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "ostream *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  ios_base iVar1;\n  int iVar2;\n  undefined4 uVar3;\n  ios_base *this_00;\n  ios_base *piVar4;\n  int *in_stack_0000000c;\n  \n  iVar2 = *(int *)param_1;\n  *(int *)this = iVar2;\n  this_00 = (ios_base *)(this + *(int *)(iVar2 + -0xc));\n  *(undefined4 *)this_00 = *(undefined4 *)(param_1 + 4);\n  piVar4 = (ios_base *)((int)in_stack_0000000c + *(int *)(*in_stack_0000000c + -0xc));\n  ios_base::_M_move(this_00,piVar4);\n  ios::_M_cache_locale((ios *)this_00,(locale *)(this_00 + 0x6c));\n  uVar3 = *(undefined4 *)(piVar4 + 0x70);\n  *(undefined4 *)(piVar4 + 0x70) = 0;\n  *(undefined4 *)(this_00 + 0x70) = uVar3;\n  this_00[0x74] = piVar4[0x74];\n  iVar1 = piVar4[0x75];\n  *(undefined4 *)(this_00 + 0x78) = 0;\n  this_00[0x75] = iVar1;\n  return;\n}" { (declaration "ios_base iVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "ios_base *this_00;" type_identifier (pointer_declarator "*this_00" * identifier) ;) (declaration "ios_base *piVar4;" type_identifier (pointer_declarator "*piVar4" * identifier) ;) (declaration "int *in_stack_0000000c;" primitive_type (pointer_declarator "*in_stack_0000000c" * 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 "this_00 = (ios_base *)(this + *(int *)(iVar2 + -0xc));" (assignment_expression "this_00 = (ios_base *)(this + *(int *)(iVar2 + -0xc))" identifier = (cast_expression "(ios_base *)(this + *(int *)(iVar2 + -0xc))" ( (type_descriptor "ios_base *" 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) ))))) )))) ;) (expression_statement "*(undefined4 *)this_00 = *(undefined4 *)(param_1 + 4);" (assignment_expression "*(undefined4 *)this_00 = *(undefined4 *)(param_1 + 4)" (pointer_expression "*(undefined4 *)this_00" * (cast_expression "(undefined4 *)this_00" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = (pointer_expression "*(undefined4 *)(param_1 + 4)" * (cast_expression "(undefined4 *)(param_1 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) ;) (expression_statement "piVar4 = (ios_base *)((int)in_stack_0000000c + *(int *)(*in_stack_0000000c + -0xc));" (assignment_expression "piVar4 = (ios_base *)((int)in_stack_0000000c + *(int *)(*in_stack_0000000c + -0xc))" identifier = (cast_expression "(ios_base *)((int)in_stack_0000000c + *(int *)(*in_stack_0000000c + -0xc))" ( (type_descriptor "ios_base *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)in_stack_0000000c + *(int *)(*in_stack_0000000c + -0xc))" ( (binary_expression "(int)in_stack_0000000c + *(int *)(*in_stack_0000000c + -0xc)" (cast_expression "(int)in_stack_0000000c" ( (type_descriptor "int" primitive_type) ) identifier) + (pointer_expression "*(int *)(*in_stack_0000000c + -0xc)" * (cast_expression "(int *)(*in_stack_0000000c + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*in_stack_0000000c + -0xc)" ( (binary_expression "*in_stack_0000000c + -0xc" (pointer_expression "*in_stack_0000000c" * identifier) + number_literal) ))))) )))) ;) (labeled_statement "ios_base::_M_move(this_00,piVar4);" statement_identifier : (ERROR ":" :) (expression_statement "_M_move(this_00,piVar4);" (call_expression "_M_move(this_00,piVar4)" identifier (argument_list "(this_00,piVar4)" ( identifier , identifier ))) ;)) (labeled_statement "ios::_M_cache_locale((ios *)this_00,(locale *)(this_00 + 0x6c));" statement_identifier : (ERROR ":" :) (expression_statement "_M_cache_locale((ios *)this_00,(locale *)(this_00 + 0x6c));" (call_expression "_M_cache_locale((ios *)this_00,(locale *)(this_00 + 0x6c))" identifier (argument_list "((ios *)this_00,(locale *)(this_00 + 0x6c))" ( (cast_expression "(ios *)this_00" ( (type_descriptor "ios *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , (cast_expression "(locale *)(this_00 + 0x6c)" ( (type_descriptor "locale *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this_00 + 0x6c)" ( (binary_expression "this_00 + 0x6c" identifier + number_literal) ))) ))) ;)) (expression_statement "uVar3 = *(undefined4 *)(piVar4 + 0x70);" (assignment_expression "uVar3 = *(undefined4 *)(piVar4 + 0x70)" identifier = (pointer_expression "*(undefined4 *)(piVar4 + 0x70)" * (cast_expression "(undefined4 *)(piVar4 + 0x70)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar4 + 0x70)" ( (binary_expression "piVar4 + 0x70" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(piVar4 + 0x70) = 0;" (assignment_expression "*(undefined4 *)(piVar4 + 0x70) = 0" (pointer_expression "*(undefined4 *)(piVar4 + 0x70)" * (cast_expression "(undefined4 *)(piVar4 + 0x70)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar4 + 0x70)" ( (binary_expression "piVar4 + 0x70" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(this_00 + 0x70) = uVar3;" (assignment_expression "*(undefined4 *)(this_00 + 0x70) = uVar3" (pointer_expression "*(undefined4 *)(this_00 + 0x70)" * (cast_expression "(undefined4 *)(this_00 + 0x70)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this_00 + 0x70)" ( (binary_expression "this_00 + 0x70" identifier + number_literal) )))) = identifier) ;) (expression_statement "this_00[0x74] = piVar4[0x74];" (assignment_expression "this_00[0x74] = piVar4[0x74]" (subscript_expression "this_00[0x74]" identifier [ number_literal ]) = (subscript_expression "piVar4[0x74]" identifier [ number_literal ])) ;) (expression_statement "iVar1 = piVar4[0x75];" (assignment_expression "iVar1 = piVar4[0x75]" identifier = (subscript_expression "piVar4[0x75]" identifier [ number_literal ])) ;) (expression_statement "*(undefined4 *)(this_00 + 0x78) = 0;" (assignment_expression "*(undefined4 *)(this_00 + 0x78) = 0" (pointer_expression "*(undefined4 *)(this_00 + 0x78)" * (cast_expression "(undefined4 *)(this_00 + 0x78)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this_00 + 0x78)" ( (binary_expression "this_00 + 0x78" identifier + number_literal) )))) = number_literal) ;) (expression_statement "this_00[0x75] = iVar1;" (assignment_expression "this_00[0x75] = iVar1" (subscript_expression "this_00[0x75]" identifier [ number_literal ]) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0018d590(int *param_1,int *param_2,int *param_3)\n\n{\n  undefined1 uVar1;\n  int iVar2;\n  int iVar3;\n  \n  iVar2 = *param_2;\n  *param_1 = iVar2;\n  param_1 = (int *)((int)param_1 + *(int *)(iVar2 + -0xc));\n  *param_1 = param_2[1];\n  iVar3 = (int)param_3 + *(int *)(*param_3 + -0xc);\n  FUN_001c5ad0(param_1,iVar3);\n  FUN_001aa9f0(param_1,param_1 + 0x1b);\n  iVar2 = *(int *)(iVar3 + 0x70);\n  *(undefined4 *)(iVar3 + 0x70) = 0;\n  param_1[0x1c] = iVar2;\n  *(undefined1 *)(param_1 + 0x1d) = *(undefined1 *)(iVar3 + 0x74);\n  uVar1 = *(undefined1 *)(iVar3 + 0x75);\n  param_1[0x1e] = 0;\n  *(undefined1 *)((int)param_1 + 0x75) = uVar1;\n  return;\n}\n\n" (function_definition "void FUN_0018d590(int *param_1,int *param_2,int *param_3)\n\n{\n  undefined1 uVar1;\n  int iVar2;\n  int iVar3;\n  \n  iVar2 = *param_2;\n  *param_1 = iVar2;\n  param_1 = (int *)((int)param_1 + *(int *)(iVar2 + -0xc));\n  *param_1 = param_2[1];\n  iVar3 = (int)param_3 + *(int *)(*param_3 + -0xc);\n  FUN_001c5ad0(param_1,iVar3);\n  FUN_001aa9f0(param_1,param_1 + 0x1b);\n  iVar2 = *(int *)(iVar3 + 0x70);\n  *(undefined4 *)(iVar3 + 0x70) = 0;\n  param_1[0x1c] = iVar2;\n  *(undefined1 *)(param_1 + 0x1d) = *(undefined1 *)(iVar3 + 0x74);\n  uVar1 = *(undefined1 *)(iVar3 + 0x75);\n  param_1[0x1e] = 0;\n  *(undefined1 *)((int)param_1 + 0x75) = uVar1;\n  return;\n}" primitive_type (function_declarator "FUN_0018d590(int *param_1,int *param_2,int *param_3)" identifier (parameter_list "(int *param_1,int *param_2,int *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 "int *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  undefined1 uVar1;\n  int iVar2;\n  int iVar3;\n  \n  iVar2 = *param_2;\n  *param_1 = iVar2;\n  param_1 = (int *)((int)param_1 + *(int *)(iVar2 + -0xc));\n  *param_1 = param_2[1];\n  iVar3 = (int)param_3 + *(int *)(*param_3 + -0xc);\n  FUN_001c5ad0(param_1,iVar3);\n  FUN_001aa9f0(param_1,param_1 + 0x1b);\n  iVar2 = *(int *)(iVar3 + 0x70);\n  *(undefined4 *)(iVar3 + 0x70) = 0;\n  param_1[0x1c] = iVar2;\n  *(undefined1 *)(param_1 + 0x1d) = *(undefined1 *)(iVar3 + 0x74);\n  uVar1 = *(undefined1 *)(iVar3 + 0x75);\n  param_1[0x1e] = 0;\n  *(undefined1 *)((int)param_1 + 0x75) = uVar1;\n  return;\n}" { (declaration "undefined1 uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type 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 "param_1 = (int *)((int)param_1 + *(int *)(iVar2 + -0xc));" (assignment_expression "param_1 = (int *)((int)param_1 + *(int *)(iVar2 + -0xc))" identifier = (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) ))))) )))) ;) (expression_statement "*param_1 = param_2[1];" (assignment_expression "*param_1 = param_2[1]" (pointer_expression "*param_1" * identifier) = (subscript_expression "param_2[1]" identifier [ number_literal ])) ;) (expression_statement "iVar3 = (int)param_3 + *(int *)(*param_3 + -0xc);" (assignment_expression "iVar3 = (int)param_3 + *(int *)(*param_3 + -0xc)" identifier = (binary_expression "(int)param_3 + *(int *)(*param_3 + -0xc)" (cast_expression "(int)param_3" ( (type_descriptor "int" primitive_type) ) identifier) + (pointer_expression "*(int *)(*param_3 + -0xc)" * (cast_expression "(int *)(*param_3 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_3 + -0xc)" ( (binary_expression "*param_3 + -0xc" (pointer_expression "*param_3" * identifier) + number_literal) )))))) ;) (expression_statement "FUN_001c5ad0(param_1,iVar3);" (call_expression "FUN_001c5ad0(param_1,iVar3)" identifier (argument_list "(param_1,iVar3)" ( identifier , identifier ))) ;) (expression_statement "FUN_001aa9f0(param_1,param_1 + 0x1b);" (call_expression "FUN_001aa9f0(param_1,param_1 + 0x1b)" identifier (argument_list "(param_1,param_1 + 0x1b)" ( identifier , (binary_expression "param_1 + 0x1b" identifier + number_literal) ))) ;) (expression_statement "iVar2 = *(int *)(iVar3 + 0x70);" (assignment_expression "iVar2 = *(int *)(iVar3 + 0x70)" identifier = (pointer_expression "*(int *)(iVar3 + 0x70)" * (cast_expression "(int *)(iVar3 + 0x70)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x70)" ( (binary_expression "iVar3 + 0x70" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(iVar3 + 0x70) = 0;" (assignment_expression "*(undefined4 *)(iVar3 + 0x70) = 0" (pointer_expression "*(undefined4 *)(iVar3 + 0x70)" * (cast_expression "(undefined4 *)(iVar3 + 0x70)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x70)" ( (binary_expression "iVar3 + 0x70" identifier + number_literal) )))) = number_literal) ;) (expression_statement "param_1[0x1c] = iVar2;" (assignment_expression "param_1[0x1c] = iVar2" (subscript_expression "param_1[0x1c]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*(undefined1 *)(param_1 + 0x1d) = *(undefined1 *)(iVar3 + 0x74);" (assignment_expression "*(undefined1 *)(param_1 + 0x1d) = *(undefined1 *)(iVar3 + 0x74)" (pointer_expression "*(undefined1 *)(param_1 + 0x1d)" * (cast_expression "(undefined1 *)(param_1 + 0x1d)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1d)" ( (binary_expression "param_1 + 0x1d" identifier + number_literal) )))) = (pointer_expression "*(undefined1 *)(iVar3 + 0x74)" * (cast_expression "(undefined1 *)(iVar3 + 0x74)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x74)" ( (binary_expression "iVar3 + 0x74" identifier + number_literal) ))))) ;) (expression_statement "uVar1 = *(undefined1 *)(iVar3 + 0x75);" (assignment_expression "uVar1 = *(undefined1 *)(iVar3 + 0x75)" identifier = (pointer_expression "*(undefined1 *)(iVar3 + 0x75)" * (cast_expression "(undefined1 *)(iVar3 + 0x75)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x75)" ( (binary_expression "iVar3 + 0x75" identifier + number_literal) ))))) ;) (expression_statement "param_1[0x1e] = 0;" (assignment_expression "param_1[0x1e] = 0" (subscript_expression "param_1[0x1e]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined1 *)((int)param_1 + 0x75) = uVar1;" (assignment_expression "*(undefined1 *)((int)param_1 + 0x75) = uVar1" (pointer_expression "*(undefined1 *)((int)param_1 + 0x75)" * (cast_expression "(undefined1 *)((int)param_1 + 0x75)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 0x75)" ( (binary_expression "(int)param_1 + 0x75" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = (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) ))))) )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (binary_expression IDENT + LIT) ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = IDENT) ;) (return_statement return ;) })))
(function_definition "void FUN_0018d590(int *param_1,int *param_2,int *param_3)\n\n{\n  undefined1 uVar1;\n  int iVar2;\n  int iVar3;\n  \n  iVar2 = *param_2;\n  *param_1 = iVar2;\n  param_1 = (int *)((int)param_1 + *(int *)(iVar2 + -0xc));\n  *param_1 = param_2[1];\n  iVar3 = (int)param_3 + *(int *)(*param_3 + -0xc);\n  FUN_001c5ad0(param_1,iVar3);\n  FUN_001aa9f0(param_1,param_1 + 0x1b);\n  iVar2 = *(int *)(iVar3 + 0x70);\n  *(undefined4 *)(iVar3 + 0x70) = 0;\n  param_1[0x1c] = iVar2;\n  *(undefined1 *)(param_1 + 0x1d) = *(undefined1 *)(iVar3 + 0x74);\n  uVar1 = *(undefined1 *)(iVar3 + 0x75);\n  param_1[0x1e] = 0;\n  *(undefined1 *)((int)param_1 + 0x75) = uVar1;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0018d590(int *param_1,int *param_2,int *param_3)" (identifier "FUN_0018d590") (parameter_list "(int *param_1,int *param_2,int *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 "int *param_3" (primitive_type "int") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) () ")"))) (compound_statement "{\n  undefined1 uVar1;\n  int iVar2;\n  int iVar3;\n  \n  iVar2 = *param_2;\n  *param_1 = iVar2;\n  param_1 = (int *)((int)param_1 + *(int *)(iVar2 + -0xc));\n  *param_1 = param_2[1];\n  iVar3 = (int)param_3 + *(int *)(*param_3 + -0xc);\n  FUN_001c5ad0(param_1,iVar3);\n  FUN_001aa9f0(param_1,param_1 + 0x1b);\n  iVar2 = *(int *)(iVar3 + 0x70);\n  *(undefined4 *)(iVar3 + 0x70) = 0;\n  param_1[0x1c] = iVar2;\n  *(undefined1 *)(param_1 + 0x1d) = *(undefined1 *)(iVar3 + 0x74);\n  uVar1 = *(undefined1 *)(iVar3 + 0x75);\n  param_1[0x1e] = 0;\n  *(undefined1 *)((int)param_1 + 0x75) = uVar1;\n  return;\n}" ({ "{") (declaration "undefined1 uVar1;" (type_identifier "undefined1") (identifier "uVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (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 "param_1 = (int *)((int)param_1 + *(int *)(iVar2 + -0xc));" (assignment_expression "param_1 = (int *)((int)param_1 + *(int *)(iVar2 + -0xc))" (identifier "param_1") (= "=") (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")) () ")"))))) () ")")))) (; ";")) (expression_statement "*param_1 = param_2[1];" (assignment_expression "*param_1 = param_2[1]" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "iVar3 = (int)param_3 + *(int *)(*param_3 + -0xc);" (assignment_expression "iVar3 = (int)param_3 + *(int *)(*param_3 + -0xc)" (identifier "iVar3") (= "=") (binary_expression "(int)param_3 + *(int *)(*param_3 + -0xc)" (cast_expression "(int)param_3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_3")) (+ "+") (pointer_expression "*(int *)(*param_3 + -0xc)" (* "*") (cast_expression "(int *)(*param_3 + -0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_3 + -0xc)" (( "(") (binary_expression "*param_3 + -0xc" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (+ "+") (number_literal "-0xc")) () ")")))))) (; ";")) (expression_statement "FUN_001c5ad0(param_1,iVar3);" (call_expression "FUN_001c5ad0(param_1,iVar3)" (identifier "FUN_001c5ad0") (argument_list "(param_1,iVar3)" (( "(") (identifier "param_1") (, ",") (identifier "iVar3") () ")"))) (; ";")) (expression_statement "FUN_001aa9f0(param_1,param_1 + 0x1b);" (call_expression "FUN_001aa9f0(param_1,param_1 + 0x1b)" (identifier "FUN_001aa9f0") (argument_list "(param_1,param_1 + 0x1b)" (( "(") (identifier "param_1") (, ",") (binary_expression "param_1 + 0x1b" (identifier "param_1") (+ "+") (number_literal "0x1b")) () ")"))) (; ";")) (expression_statement "iVar2 = *(int *)(iVar3 + 0x70);" (assignment_expression "iVar2 = *(int *)(iVar3 + 0x70)" (identifier "iVar2") (= "=") (pointer_expression "*(int *)(iVar3 + 0x70)" (* "*") (cast_expression "(int *)(iVar3 + 0x70)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x70)" (( "(") (binary_expression "iVar3 + 0x70" (identifier "iVar3") (+ "+") (number_literal "0x70")) () ")"))))) (; ";")) (expression_statement "*(undefined4 *)(iVar3 + 0x70) = 0;" (assignment_expression "*(undefined4 *)(iVar3 + 0x70) = 0" (pointer_expression "*(undefined4 *)(iVar3 + 0x70)" (* "*") (cast_expression "(undefined4 *)(iVar3 + 0x70)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x70)" (( "(") (binary_expression "iVar3 + 0x70" (identifier "iVar3") (+ "+") (number_literal "0x70")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1[0x1c] = iVar2;" (assignment_expression "param_1[0x1c] = iVar2" (subscript_expression "param_1[0x1c]" (identifier "param_1") ([ "[") (number_literal "0x1c") (] "]")) (= "=") (identifier "iVar2")) (; ";")) (expression_statement "*(undefined1 *)(param_1 + 0x1d) = *(undefined1 *)(iVar3 + 0x74);" (assignment_expression "*(undefined1 *)(param_1 + 0x1d) = *(undefined1 *)(iVar3 + 0x74)" (pointer_expression "*(undefined1 *)(param_1 + 0x1d)" (* "*") (cast_expression "(undefined1 *)(param_1 + 0x1d)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1d)" (( "(") (binary_expression "param_1 + 0x1d" (identifier "param_1") (+ "+") (number_literal "0x1d")) () ")")))) (= "=") (pointer_expression "*(undefined1 *)(iVar3 + 0x74)" (* "*") (cast_expression "(undefined1 *)(iVar3 + 0x74)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x74)" (( "(") (binary_expression "iVar3 + 0x74" (identifier "iVar3") (+ "+") (number_literal "0x74")) () ")"))))) (; ";")) (expression_statement "uVar1 = *(undefined1 *)(iVar3 + 0x75);" (assignment_expression "uVar1 = *(undefined1 *)(iVar3 + 0x75)" (identifier "uVar1") (= "=") (pointer_expression "*(undefined1 *)(iVar3 + 0x75)" (* "*") (cast_expression "(undefined1 *)(iVar3 + 0x75)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x75)" (( "(") (binary_expression "iVar3 + 0x75" (identifier "iVar3") (+ "+") (number_literal "0x75")) () ")"))))) (; ";")) (expression_statement "param_1[0x1e] = 0;" (assignment_expression "param_1[0x1e] = 0" (subscript_expression "param_1[0x1e]" (identifier "param_1") ([ "[") (number_literal "0x1e") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined1 *)((int)param_1 + 0x75) = uVar1;" (assignment_expression "*(undefined1 *)((int)param_1 + 0x75) = uVar1" (pointer_expression "*(undefined1 *)((int)param_1 + 0x75)" (* "*") (cast_expression "(undefined1 *)((int)param_1 + 0x75)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + 0x75)" (( "(") (binary_expression "(int)param_1 + 0x75" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (number_literal "0x75")) () ")")))) (= "=") (identifier "uVar1")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* std::ostream::ostream(std::ostream&&) */

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

{
  type_1 iVar1;
  int var_2;
  type_2 uVar3;
  type_1 *var_6;
  type_1 *var_7;
  int *in_stack_0000000c;
  
  var_2 = *(int *)var_3;
  *(int *)var_1 = var_2;
  var_6 = (type_1 *)(var_1 + *(int *)(var_2 + -0xc));
  *(type_2 *)var_6 = *(type_2 *)(var_3 + 4);
  var_7 = (type_1 *)((int)in_stack_0000000c + *(int *)(*in_stack_0000000c + -0xc));
  ios_base::var_4(var_6,var_7);
  ios::var_5((type_3 *)var_6,(type_4 *)(var_6 + 0x6c));
  uVar3 = *(type_2 *)(var_7 + 0x70);
  *(type_2 *)(var_7 + 0x70) = 0;
  *(type_2 *)(var_6 + 0x70) = uVar3;
  var_6[0x74] = var_7[0x74];
  iVar1 = var_7[0x75];
  *(type_2 *)(var_6 + 0x78) = 0;
  var_6[0x75] = iVar1;
  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: (primitive_type) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (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: (identifier) right: (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)))))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (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: (pointer_expression argument: (identifier)) right: (number_literal)))))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (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))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))) right: (identifier))) (return_statement))))

/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

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

{
  undefined1 uVar1;
  int iVar2;
  int iVar3;
  
  iVar2 = *param_2;
  *param_1 = iVar2;
  param_1 = (int *)((int)param_1 + *(int *)(iVar2 + -0xc));
  *param_1 = param_2[1];
  iVar3 = (int)param_3 + *(int *)(*param_3 + -0xc);
  FUN_001c5ad0(param_1,iVar3);
  FUN_001aa9f0(param_1,param_1 + 0x1b);
  iVar2 = *(int *)(iVar3 + 0x70);
  *(undefined4 *)(iVar3 + 0x70) = 0;
  param_1[0x1c] = iVar2;
  *(undefined1 *)(param_1 + 0x1d) = *(undefined1 *)(iVar3 + 0x74);
  uVar1 = *(undefined1 *)(iVar3 + 0x75);
  param_1[0x1e] = 0;
  *(undefined1 *)((int)param_1 + 0x75) = uVar1;
  return;
}

