
/* std::ofstream::swap(std::ofstream&) */

void __thiscall std::ofstream::swap(ofstream *this,ofstream *param_1)

{
  ios iVar1;
  undefined8 uVar2;
  ios *this_00;
  ios_base *this_01;
  
  this_01 = (ios_base *)(this + *(long *)(*(long *)this + -0x18));
  this_00 = (ios *)(param_1 + *(long *)(*(long *)param_1 + -0x18));
  ios_base::_M_swap(this_01,(ios_base *)this_00);
  ios::_M_cache_locale((ios *)this_01,(locale *)(this_01 + 0xd0));
  ios::_M_cache_locale(this_00,(locale *)(this_00 + 0xd0));
  uVar2 = *(undefined8 *)(this_01 + 0xd8);
  *(undefined8 *)(this_01 + 0xd8) = *(undefined8 *)(this_00 + 0xd8);
  *(undefined8 *)(this_00 + 0xd8) = uVar2;
  iVar1 = *(ios *)(this_01 + 0xe0);
  *(ios *)(this_01 + 0xe0) = this_00[0xe0];
  this_00[0xe0] = iVar1;
  iVar1 = *(ios *)(this_01 + 0xe1);
  *(ios *)(this_01 + 0xe1) = this_00[0xe1];
  this_00[0xe1] = iVar1;
  filebuf::swap((filebuf *)(this + 8),(filebuf *)(param_1 + 8));
  return;
}



void FUN_002a0ac0(long *param_1,long *param_2)

{
  undefined1 uVar1;
  undefined8 uVar2;
  long lVar3;
  long lVar4;
  
  lVar4 = *(long *)(*param_1 + -0x18) + (long)param_1;
  lVar3 = *(long *)(*param_2 + -0x18) + (long)param_2;
  FUN_002b4f60(lVar4,lVar3);
  FUN_0029cc70(lVar4,lVar4 + 0xd0);
  FUN_0029cc70(lVar3,lVar3 + 0xd0);
  uVar2 = *(undefined8 *)(lVar4 + 0xd8);
  *(undefined8 *)(lVar4 + 0xd8) = *(undefined8 *)(lVar3 + 0xd8);
  *(undefined8 *)(lVar3 + 0xd8) = uVar2;
  uVar1 = *(undefined1 *)(lVar4 + 0xe0);
  *(undefined1 *)(lVar4 + 0xe0) = *(undefined1 *)(lVar3 + 0xe0);
  *(undefined1 *)(lVar3 + 0xe0) = uVar1;
  uVar1 = *(undefined1 *)(lVar4 + 0xe1);
  *(undefined1 *)(lVar4 + 0xe1) = *(undefined1 *)(lVar3 + 0xe1);
  *(undefined1 *)(lVar3 + 0xe1) = uVar1;
  FUN_0029f700(param_1 + 1,param_2 + 1);
  return;
}


PUSH R13
MOV R13,RSI
PUSH R12
MOV R12,RDI
PUSH RBP
PUSH RBX
SUB RSP,0x8
MOV RAX,qword ptr [RDI]
MOV RBP,qword ptr [RAX + -0x18]
MOV RAX,qword ptr [RSI]
MOV RBX,qword ptr [RAX + -0x18]
ADD RBP,RDI
MOV RDI,RBP
ADD RBX,RSI
MOV RSI,RBX
CALL 0x002b4f60
LEA RSI,[RBP + 0xd0]
MOV RDI,RBP
CALL 0x0029cc70
LEA RSI,[RBX + 0xd0]
MOV RDI,RBX
CALL 0x0029cc70
MOV RAX,qword ptr [RBP + 0xd8]
LEA RSI,[R13 + 0x8]
MOV RDX,qword ptr [RBX + 0xd8]
LEA RDI,[R12 + 0x8]
MOV qword ptr [RBP + 0xd8],RDX
MOVZX EDX,byte ptr [RBX + 0xe0]
MOV qword ptr [RBX + 0xd8],RAX
MOVZX EAX,byte ptr [RBP + 0xe0]
MOV byte ptr [RBP + 0xe0],DL
MOVZX EDX,byte ptr [RBX + 0xe1]
MOV byte ptr [RBX + 0xe0],AL
MOVZX EAX,byte ptr [RBP + 0xe1]
MOV byte ptr [RBP + 0xe1],DL
MOV byte ptr [RBX + 0xe1],AL
ADD RSP,0x8
POP RBX
POP RBP
POP R12
POP R13
JMP 0x0029f700
(translation_unit "void FUN_002a0ac0(long *param_1,long *param_2)\n\n{\n  undefined1 uVar1;\n  undefined8 uVar2;\n  long lVar3;\n  long lVar4;\n  \n  lVar4 = *(long *)(*param_1 + -0x18) + (long)param_1;\n  lVar3 = *(long *)(*param_2 + -0x18) + (long)param_2;\n  FUN_002b4f60(lVar4,lVar3);\n  FUN_0029cc70(lVar4,lVar4 + 0xd0);\n  FUN_0029cc70(lVar3,lVar3 + 0xd0);\n  uVar2 = *(undefined8 *)(lVar4 + 0xd8);\n  *(undefined8 *)(lVar4 + 0xd8) = *(undefined8 *)(lVar3 + 0xd8);\n  *(undefined8 *)(lVar3 + 0xd8) = uVar2;\n  uVar1 = *(undefined1 *)(lVar4 + 0xe0);\n  *(undefined1 *)(lVar4 + 0xe0) = *(undefined1 *)(lVar3 + 0xe0);\n  *(undefined1 *)(lVar3 + 0xe0) = uVar1;\n  uVar1 = *(undefined1 *)(lVar4 + 0xe1);\n  *(undefined1 *)(lVar4 + 0xe1) = *(undefined1 *)(lVar3 + 0xe1);\n  *(undefined1 *)(lVar3 + 0xe1) = uVar1;\n  FUN_0029f700(param_1 + 1,param_2 + 1);\n  return;\n}\n\n" (function_definition "void FUN_002a0ac0(long *param_1,long *param_2)\n\n{\n  undefined1 uVar1;\n  undefined8 uVar2;\n  long lVar3;\n  long lVar4;\n  \n  lVar4 = *(long *)(*param_1 + -0x18) + (long)param_1;\n  lVar3 = *(long *)(*param_2 + -0x18) + (long)param_2;\n  FUN_002b4f60(lVar4,lVar3);\n  FUN_0029cc70(lVar4,lVar4 + 0xd0);\n  FUN_0029cc70(lVar3,lVar3 + 0xd0);\n  uVar2 = *(undefined8 *)(lVar4 + 0xd8);\n  *(undefined8 *)(lVar4 + 0xd8) = *(undefined8 *)(lVar3 + 0xd8);\n  *(undefined8 *)(lVar3 + 0xd8) = uVar2;\n  uVar1 = *(undefined1 *)(lVar4 + 0xe0);\n  *(undefined1 *)(lVar4 + 0xe0) = *(undefined1 *)(lVar3 + 0xe0);\n  *(undefined1 *)(lVar3 + 0xe0) = uVar1;\n  uVar1 = *(undefined1 *)(lVar4 + 0xe1);\n  *(undefined1 *)(lVar4 + 0xe1) = *(undefined1 *)(lVar3 + 0xe1);\n  *(undefined1 *)(lVar3 + 0xe1) = uVar1;\n  FUN_0029f700(param_1 + 1,param_2 + 1);\n  return;\n}" primitive_type (function_declarator "FUN_002a0ac0(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  undefined1 uVar1;\n  undefined8 uVar2;\n  long lVar3;\n  long lVar4;\n  \n  lVar4 = *(long *)(*param_1 + -0x18) + (long)param_1;\n  lVar3 = *(long *)(*param_2 + -0x18) + (long)param_2;\n  FUN_002b4f60(lVar4,lVar3);\n  FUN_0029cc70(lVar4,lVar4 + 0xd0);\n  FUN_0029cc70(lVar3,lVar3 + 0xd0);\n  uVar2 = *(undefined8 *)(lVar4 + 0xd8);\n  *(undefined8 *)(lVar4 + 0xd8) = *(undefined8 *)(lVar3 + 0xd8);\n  *(undefined8 *)(lVar3 + 0xd8) = uVar2;\n  uVar1 = *(undefined1 *)(lVar4 + 0xe0);\n  *(undefined1 *)(lVar4 + 0xe0) = *(undefined1 *)(lVar3 + 0xe0);\n  *(undefined1 *)(lVar3 + 0xe0) = uVar1;\n  uVar1 = *(undefined1 *)(lVar4 + 0xe1);\n  *(undefined1 *)(lVar4 + 0xe1) = *(undefined1 *)(lVar3 + 0xe1);\n  *(undefined1 *)(lVar3 + 0xe1) = uVar1;\n  FUN_0029f700(param_1 + 1,param_2 + 1);\n  return;\n}" { (declaration "undefined1 uVar1;" type_identifier identifier ;) (declaration "undefined8 uVar2;" type_identifier identifier ;) (declaration "long lVar3;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar4;" (sized_type_specifier "long" long) identifier ;) (expression_statement "lVar4 = *(long *)(*param_1 + -0x18) + (long)param_1;" (assignment_expression "lVar4 = *(long *)(*param_1 + -0x18) + (long)param_1" identifier = (binary_expression "*(long *)(*param_1 + -0x18) + (long)param_1" (pointer_expression "*(long *)(*param_1 + -0x18)" * (cast_expression "(long *)(*param_1 + -0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + -0x18)" ( (binary_expression "*param_1 + -0x18" (pointer_expression "*param_1" * identifier) + number_literal) )))) + (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier))) ;) (expression_statement "lVar3 = *(long *)(*param_2 + -0x18) + (long)param_2;" (assignment_expression "lVar3 = *(long *)(*param_2 + -0x18) + (long)param_2" identifier = (binary_expression "*(long *)(*param_2 + -0x18) + (long)param_2" (pointer_expression "*(long *)(*param_2 + -0x18)" * (cast_expression "(long *)(*param_2 + -0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_2 + -0x18)" ( (binary_expression "*param_2 + -0x18" (pointer_expression "*param_2" * identifier) + number_literal) )))) + (cast_expression "(long)param_2" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier))) ;) (expression_statement "FUN_002b4f60(lVar4,lVar3);" (call_expression "FUN_002b4f60(lVar4,lVar3)" identifier (argument_list "(lVar4,lVar3)" ( identifier , identifier ))) ;) (expression_statement "FUN_0029cc70(lVar4,lVar4 + 0xd0);" (call_expression "FUN_0029cc70(lVar4,lVar4 + 0xd0)" identifier (argument_list "(lVar4,lVar4 + 0xd0)" ( identifier , (binary_expression "lVar4 + 0xd0" identifier + number_literal) ))) ;) (expression_statement "FUN_0029cc70(lVar3,lVar3 + 0xd0);" (call_expression "FUN_0029cc70(lVar3,lVar3 + 0xd0)" identifier (argument_list "(lVar3,lVar3 + 0xd0)" ( identifier , (binary_expression "lVar3 + 0xd0" identifier + number_literal) ))) ;) (expression_statement "uVar2 = *(undefined8 *)(lVar4 + 0xd8);" (assignment_expression "uVar2 = *(undefined8 *)(lVar4 + 0xd8)" identifier = (pointer_expression "*(undefined8 *)(lVar4 + 0xd8)" * (cast_expression "(undefined8 *)(lVar4 + 0xd8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar4 + 0xd8)" ( (binary_expression "lVar4 + 0xd8" identifier + number_literal) ))))) ;) (expression_statement "*(undefined8 *)(lVar4 + 0xd8) = *(undefined8 *)(lVar3 + 0xd8);" (assignment_expression "*(undefined8 *)(lVar4 + 0xd8) = *(undefined8 *)(lVar3 + 0xd8)" (pointer_expression "*(undefined8 *)(lVar4 + 0xd8)" * (cast_expression "(undefined8 *)(lVar4 + 0xd8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar4 + 0xd8)" ( (binary_expression "lVar4 + 0xd8" identifier + number_literal) )))) = (pointer_expression "*(undefined8 *)(lVar3 + 0xd8)" * (cast_expression "(undefined8 *)(lVar3 + 0xd8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + 0xd8)" ( (binary_expression "lVar3 + 0xd8" identifier + number_literal) ))))) ;) (expression_statement "*(undefined8 *)(lVar3 + 0xd8) = uVar2;" (assignment_expression "*(undefined8 *)(lVar3 + 0xd8) = uVar2" (pointer_expression "*(undefined8 *)(lVar3 + 0xd8)" * (cast_expression "(undefined8 *)(lVar3 + 0xd8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + 0xd8)" ( (binary_expression "lVar3 + 0xd8" identifier + number_literal) )))) = identifier) ;) (expression_statement "uVar1 = *(undefined1 *)(lVar4 + 0xe0);" (assignment_expression "uVar1 = *(undefined1 *)(lVar4 + 0xe0)" identifier = (pointer_expression "*(undefined1 *)(lVar4 + 0xe0)" * (cast_expression "(undefined1 *)(lVar4 + 0xe0)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar4 + 0xe0)" ( (binary_expression "lVar4 + 0xe0" identifier + number_literal) ))))) ;) (expression_statement "*(undefined1 *)(lVar4 + 0xe0) = *(undefined1 *)(lVar3 + 0xe0);" (assignment_expression "*(undefined1 *)(lVar4 + 0xe0) = *(undefined1 *)(lVar3 + 0xe0)" (pointer_expression "*(undefined1 *)(lVar4 + 0xe0)" * (cast_expression "(undefined1 *)(lVar4 + 0xe0)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar4 + 0xe0)" ( (binary_expression "lVar4 + 0xe0" identifier + number_literal) )))) = (pointer_expression "*(undefined1 *)(lVar3 + 0xe0)" * (cast_expression "(undefined1 *)(lVar3 + 0xe0)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + 0xe0)" ( (binary_expression "lVar3 + 0xe0" identifier + number_literal) ))))) ;) (expression_statement "*(undefined1 *)(lVar3 + 0xe0) = uVar1;" (assignment_expression "*(undefined1 *)(lVar3 + 0xe0) = uVar1" (pointer_expression "*(undefined1 *)(lVar3 + 0xe0)" * (cast_expression "(undefined1 *)(lVar3 + 0xe0)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + 0xe0)" ( (binary_expression "lVar3 + 0xe0" identifier + number_literal) )))) = identifier) ;) (expression_statement "uVar1 = *(undefined1 *)(lVar4 + 0xe1);" (assignment_expression "uVar1 = *(undefined1 *)(lVar4 + 0xe1)" identifier = (pointer_expression "*(undefined1 *)(lVar4 + 0xe1)" * (cast_expression "(undefined1 *)(lVar4 + 0xe1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar4 + 0xe1)" ( (binary_expression "lVar4 + 0xe1" identifier + number_literal) ))))) ;) (expression_statement "*(undefined1 *)(lVar4 + 0xe1) = *(undefined1 *)(lVar3 + 0xe1);" (assignment_expression "*(undefined1 *)(lVar4 + 0xe1) = *(undefined1 *)(lVar3 + 0xe1)" (pointer_expression "*(undefined1 *)(lVar4 + 0xe1)" * (cast_expression "(undefined1 *)(lVar4 + 0xe1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar4 + 0xe1)" ( (binary_expression "lVar4 + 0xe1" identifier + number_literal) )))) = (pointer_expression "*(undefined1 *)(lVar3 + 0xe1)" * (cast_expression "(undefined1 *)(lVar3 + 0xe1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + 0xe1)" ( (binary_expression "lVar3 + 0xe1" identifier + number_literal) ))))) ;) (expression_statement "*(undefined1 *)(lVar3 + 0xe1) = uVar1;" (assignment_expression "*(undefined1 *)(lVar3 + 0xe1) = uVar1" (pointer_expression "*(undefined1 *)(lVar3 + 0xe1)" * (cast_expression "(undefined1 *)(lVar3 + 0xe1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + 0xe1)" ( (binary_expression "lVar3 + 0xe1" identifier + number_literal) )))) = identifier) ;) (expression_statement "FUN_0029f700(param_1 + 1,param_2 + 1);" (call_expression "FUN_0029f700(param_1 + 1,param_2 + 1)" identifier (argument_list "(param_1 + 1,param_2 + 1)" ( (binary_expression "param_1 + 1" identifier + number_literal) , (binary_expression "param_2 + 1" identifier + number_literal) ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* std::ofstream::swap(std::ofstream&) */\n\nvoid __thiscall std::ofstream::swap(ofstream *this,ofstream *param_1)\n\n{\n  ios iVar1;\n  undefined8 uVar2;\n  ios *this_00;\n  ios_base *this_01;\n  \n  this_01 = (ios_base *)(this + *(long *)(*(long *)this + -0x18));\n  this_00 = (ios *)(param_1 + *(long *)(*(long *)param_1 + -0x18));\n  ios_base::_M_swap(this_01,(ios_base *)this_00);\n  ios::_M_cache_locale((ios *)this_01,(locale *)(this_01 + 0xd0));\n  ios::_M_cache_locale(this_00,(locale *)(this_00 + 0xd0));\n  uVar2 = *(undefined8 *)(this_01 + 0xd8);\n  *(undefined8 *)(this_01 + 0xd8) = *(undefined8 *)(this_00 + 0xd8);\n  *(undefined8 *)(this_00 + 0xd8) = uVar2;\n  iVar1 = *(ios *)(this_01 + 0xe0);\n  *(ios *)(this_01 + 0xe0) = this_00[0xe0];\n  this_00[0xe0] = iVar1;\n  iVar1 = *(ios *)(this_01 + 0xe1);\n  *(ios *)(this_01 + 0xe1) = this_00[0xe1];\n  this_00[0xe1] = iVar1;\n  filebuf::swap((filebuf *)(this + 8),(filebuf *)(param_1 + 8));\n  return;\n}\n\n" comment (function_definition "void __thiscall std::ofstream::swap(ofstream *this,ofstream *param_1)\n\n{\n  ios iVar1;\n  undefined8 uVar2;\n  ios *this_00;\n  ios_base *this_01;\n  \n  this_01 = (ios_base *)(this + *(long *)(*(long *)this + -0x18));\n  this_00 = (ios *)(param_1 + *(long *)(*(long *)param_1 + -0x18));\n  ios_base::_M_swap(this_01,(ios_base *)this_00);\n  ios::_M_cache_locale((ios *)this_01,(locale *)(this_01 + 0xd0));\n  ios::_M_cache_locale(this_00,(locale *)(this_00 + 0xd0));\n  uVar2 = *(undefined8 *)(this_01 + 0xd8);\n  *(undefined8 *)(this_01 + 0xd8) = *(undefined8 *)(this_00 + 0xd8);\n  *(undefined8 *)(this_00 + 0xd8) = uVar2;\n  iVar1 = *(ios *)(this_01 + 0xe0);\n  *(ios *)(this_01 + 0xe0) = this_00[0xe0];\n  this_00[0xe0] = iVar1;\n  iVar1 = *(ios *)(this_01 + 0xe1);\n  *(ios *)(this_01 + 0xe1) = this_00[0xe1];\n  this_00[0xe1] = iVar1;\n  filebuf::swap((filebuf *)(this + 8),(filebuf *)(param_1 + 8));\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::ofstream::" identifier : : identifier : :) (function_declarator "swap(ofstream *this,ofstream *param_1)" identifier (parameter_list "(ofstream *this,ofstream *param_1)" ( (parameter_declaration "ofstream *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "ofstream *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  ios iVar1;\n  undefined8 uVar2;\n  ios *this_00;\n  ios_base *this_01;\n  \n  this_01 = (ios_base *)(this + *(long *)(*(long *)this + -0x18));\n  this_00 = (ios *)(param_1 + *(long *)(*(long *)param_1 + -0x18));\n  ios_base::_M_swap(this_01,(ios_base *)this_00);\n  ios::_M_cache_locale((ios *)this_01,(locale *)(this_01 + 0xd0));\n  ios::_M_cache_locale(this_00,(locale *)(this_00 + 0xd0));\n  uVar2 = *(undefined8 *)(this_01 + 0xd8);\n  *(undefined8 *)(this_01 + 0xd8) = *(undefined8 *)(this_00 + 0xd8);\n  *(undefined8 *)(this_00 + 0xd8) = uVar2;\n  iVar1 = *(ios *)(this_01 + 0xe0);\n  *(ios *)(this_01 + 0xe0) = this_00[0xe0];\n  this_00[0xe0] = iVar1;\n  iVar1 = *(ios *)(this_01 + 0xe1);\n  *(ios *)(this_01 + 0xe1) = this_00[0xe1];\n  this_00[0xe1] = iVar1;\n  filebuf::swap((filebuf *)(this + 8),(filebuf *)(param_1 + 8));\n  return;\n}" { (declaration "ios iVar1;" type_identifier identifier ;) (declaration "undefined8 uVar2;" type_identifier identifier ;) (declaration "ios *this_00;" type_identifier (pointer_declarator "*this_00" * identifier) ;) (declaration "ios_base *this_01;" type_identifier (pointer_declarator "*this_01" * identifier) ;) (expression_statement "this_01 = (ios_base *)(this + *(long *)(*(long *)this + -0x18));" (assignment_expression "this_01 = (ios_base *)(this + *(long *)(*(long *)this + -0x18))" identifier = (cast_expression "(ios_base *)(this + *(long *)(*(long *)this + -0x18))" ( (type_descriptor "ios_base *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + *(long *)(*(long *)this + -0x18))" ( (binary_expression "this + *(long *)(*(long *)this + -0x18)" identifier + (pointer_expression "*(long *)(*(long *)this + -0x18)" * (cast_expression "(long *)(*(long *)this + -0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)this + -0x18)" ( (binary_expression "*(long *)this + -0x18" (pointer_expression "*(long *)this" * (cast_expression "(long *)this" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) ))))) )))) ;) (expression_statement "this_00 = (ios *)(param_1 + *(long *)(*(long *)param_1 + -0x18));" (assignment_expression "this_00 = (ios *)(param_1 + *(long *)(*(long *)param_1 + -0x18))" identifier = (cast_expression "(ios *)(param_1 + *(long *)(*(long *)param_1 + -0x18))" ( (type_descriptor "ios *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + *(long *)(*(long *)param_1 + -0x18))" ( (binary_expression "param_1 + *(long *)(*(long *)param_1 + -0x18)" identifier + (pointer_expression "*(long *)(*(long *)param_1 + -0x18)" * (cast_expression "(long *)(*(long *)param_1 + -0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)param_1 + -0x18)" ( (binary_expression "*(long *)param_1 + -0x18" (pointer_expression "*(long *)param_1" * (cast_expression "(long *)param_1" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) ))))) )))) ;) (labeled_statement "ios_base::_M_swap(this_01,(ios_base *)this_00);" statement_identifier : (ERROR ":" :) (expression_statement "_M_swap(this_01,(ios_base *)this_00);" (call_expression "_M_swap(this_01,(ios_base *)this_00)" identifier (argument_list "(this_01,(ios_base *)this_00)" ( identifier , (cast_expression "(ios_base *)this_00" ( (type_descriptor "ios_base *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) ))) ;)) (labeled_statement "ios::_M_cache_locale((ios *)this_01,(locale *)(this_01 + 0xd0));" statement_identifier : (ERROR ":" :) (expression_statement "_M_cache_locale((ios *)this_01,(locale *)(this_01 + 0xd0));" (call_expression "_M_cache_locale((ios *)this_01,(locale *)(this_01 + 0xd0))" identifier (argument_list "((ios *)this_01,(locale *)(this_01 + 0xd0))" ( (cast_expression "(ios *)this_01" ( (type_descriptor "ios *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , (cast_expression "(locale *)(this_01 + 0xd0)" ( (type_descriptor "locale *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this_01 + 0xd0)" ( (binary_expression "this_01 + 0xd0" identifier + number_literal) ))) ))) ;)) (labeled_statement "ios::_M_cache_locale(this_00,(locale *)(this_00 + 0xd0));" statement_identifier : (ERROR ":" :) (expression_statement "_M_cache_locale(this_00,(locale *)(this_00 + 0xd0));" (call_expression "_M_cache_locale(this_00,(locale *)(this_00 + 0xd0))" identifier (argument_list "(this_00,(locale *)(this_00 + 0xd0))" ( identifier , (cast_expression "(locale *)(this_00 + 0xd0)" ( (type_descriptor "locale *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this_00 + 0xd0)" ( (binary_expression "this_00 + 0xd0" identifier + number_literal) ))) ))) ;)) (expression_statement "uVar2 = *(undefined8 *)(this_01 + 0xd8);" (assignment_expression "uVar2 = *(undefined8 *)(this_01 + 0xd8)" identifier = (pointer_expression "*(undefined8 *)(this_01 + 0xd8)" * (cast_expression "(undefined8 *)(this_01 + 0xd8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this_01 + 0xd8)" ( (binary_expression "this_01 + 0xd8" identifier + number_literal) ))))) ;) (expression_statement "*(undefined8 *)(this_01 + 0xd8) = *(undefined8 *)(this_00 + 0xd8);" (assignment_expression "*(undefined8 *)(this_01 + 0xd8) = *(undefined8 *)(this_00 + 0xd8)" (pointer_expression "*(undefined8 *)(this_01 + 0xd8)" * (cast_expression "(undefined8 *)(this_01 + 0xd8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this_01 + 0xd8)" ( (binary_expression "this_01 + 0xd8" identifier + number_literal) )))) = (pointer_expression "*(undefined8 *)(this_00 + 0xd8)" * (cast_expression "(undefined8 *)(this_00 + 0xd8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this_00 + 0xd8)" ( (binary_expression "this_00 + 0xd8" identifier + number_literal) ))))) ;) (expression_statement "*(undefined8 *)(this_00 + 0xd8) = uVar2;" (assignment_expression "*(undefined8 *)(this_00 + 0xd8) = uVar2" (pointer_expression "*(undefined8 *)(this_00 + 0xd8)" * (cast_expression "(undefined8 *)(this_00 + 0xd8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this_00 + 0xd8)" ( (binary_expression "this_00 + 0xd8" identifier + number_literal) )))) = identifier) ;) (expression_statement "iVar1 = *(ios *)(this_01 + 0xe0);" (assignment_expression "iVar1 = *(ios *)(this_01 + 0xe0)" identifier = (pointer_expression "*(ios *)(this_01 + 0xe0)" * (cast_expression "(ios *)(this_01 + 0xe0)" ( (type_descriptor "ios *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this_01 + 0xe0)" ( (binary_expression "this_01 + 0xe0" identifier + number_literal) ))))) ;) (expression_statement "*(ios *)(this_01 + 0xe0) = this_00[0xe0];" (assignment_expression "*(ios *)(this_01 + 0xe0) = this_00[0xe0]" (pointer_expression "*(ios *)(this_01 + 0xe0)" * (cast_expression "(ios *)(this_01 + 0xe0)" ( (type_descriptor "ios *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this_01 + 0xe0)" ( (binary_expression "this_01 + 0xe0" identifier + number_literal) )))) = (subscript_expression "this_00[0xe0]" identifier [ number_literal ])) ;) (expression_statement "this_00[0xe0] = iVar1;" (assignment_expression "this_00[0xe0] = iVar1" (subscript_expression "this_00[0xe0]" identifier [ number_literal ]) = identifier) ;) (expression_statement "iVar1 = *(ios *)(this_01 + 0xe1);" (assignment_expression "iVar1 = *(ios *)(this_01 + 0xe1)" identifier = (pointer_expression "*(ios *)(this_01 + 0xe1)" * (cast_expression "(ios *)(this_01 + 0xe1)" ( (type_descriptor "ios *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this_01 + 0xe1)" ( (binary_expression "this_01 + 0xe1" identifier + number_literal) ))))) ;) (expression_statement "*(ios *)(this_01 + 0xe1) = this_00[0xe1];" (assignment_expression "*(ios *)(this_01 + 0xe1) = this_00[0xe1]" (pointer_expression "*(ios *)(this_01 + 0xe1)" * (cast_expression "(ios *)(this_01 + 0xe1)" ( (type_descriptor "ios *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this_01 + 0xe1)" ( (binary_expression "this_01 + 0xe1" identifier + number_literal) )))) = (subscript_expression "this_00[0xe1]" identifier [ number_literal ])) ;) (expression_statement "this_00[0xe1] = iVar1;" (assignment_expression "this_00[0xe1] = iVar1" (subscript_expression "this_00[0xe1]" identifier [ number_literal ]) = identifier) ;) (labeled_statement "filebuf::swap((filebuf *)(this + 8),(filebuf *)(param_1 + 8));" statement_identifier : (ERROR ":" :) (expression_statement "swap((filebuf *)(this + 8),(filebuf *)(param_1 + 8));" (call_expression "swap((filebuf *)(this + 8),(filebuf *)(param_1 + 8))" identifier (argument_list "((filebuf *)(this + 8),(filebuf *)(param_1 + 8))" ( (cast_expression "(filebuf *)(this + 8)" ( (type_descriptor "filebuf *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) ))) , (cast_expression "(filebuf *)(param_1 + 8)" ( (type_descriptor "filebuf *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))) ))) ;)) (return_statement "return;" return ;) })))
(translation_unit "void FUN_002a0ac0(long *param_1,long *param_2)\n\n{\n  undefined1 uVar1;\n  undefined8 uVar2;\n  long lVar3;\n  long lVar4;\n  \n  lVar4 = *(long *)(*param_1 + -0x18) + (long)param_1;\n  lVar3 = *(long *)(*param_2 + -0x18) + (long)param_2;\n  FUN_002b4f60(lVar4,lVar3);\n  FUN_0029cc70(lVar4,lVar4 + 0xd0);\n  FUN_0029cc70(lVar3,lVar3 + 0xd0);\n  uVar2 = *(undefined8 *)(lVar4 + 0xd8);\n  *(undefined8 *)(lVar4 + 0xd8) = *(undefined8 *)(lVar3 + 0xd8);\n  *(undefined8 *)(lVar3 + 0xd8) = uVar2;\n  uVar1 = *(undefined1 *)(lVar4 + 0xe0);\n  *(undefined1 *)(lVar4 + 0xe0) = *(undefined1 *)(lVar3 + 0xe0);\n  *(undefined1 *)(lVar3 + 0xe0) = uVar1;\n  uVar1 = *(undefined1 *)(lVar4 + 0xe1);\n  *(undefined1 *)(lVar4 + 0xe1) = *(undefined1 *)(lVar3 + 0xe1);\n  *(undefined1 *)(lVar3 + 0xe1) = uVar1;\n  FUN_0029f700(param_1 + 1,param_2 + 1);\n  return;\n}\n\n" (function_definition "void FUN_002a0ac0(long *param_1,long *param_2)\n\n{\n  undefined1 uVar1;\n  undefined8 uVar2;\n  long lVar3;\n  long lVar4;\n  \n  lVar4 = *(long *)(*param_1 + -0x18) + (long)param_1;\n  lVar3 = *(long *)(*param_2 + -0x18) + (long)param_2;\n  FUN_002b4f60(lVar4,lVar3);\n  FUN_0029cc70(lVar4,lVar4 + 0xd0);\n  FUN_0029cc70(lVar3,lVar3 + 0xd0);\n  uVar2 = *(undefined8 *)(lVar4 + 0xd8);\n  *(undefined8 *)(lVar4 + 0xd8) = *(undefined8 *)(lVar3 + 0xd8);\n  *(undefined8 *)(lVar3 + 0xd8) = uVar2;\n  uVar1 = *(undefined1 *)(lVar4 + 0xe0);\n  *(undefined1 *)(lVar4 + 0xe0) = *(undefined1 *)(lVar3 + 0xe0);\n  *(undefined1 *)(lVar3 + 0xe0) = uVar1;\n  uVar1 = *(undefined1 *)(lVar4 + 0xe1);\n  *(undefined1 *)(lVar4 + 0xe1) = *(undefined1 *)(lVar3 + 0xe1);\n  *(undefined1 *)(lVar3 + 0xe1) = uVar1;\n  FUN_0029f700(param_1 + 1,param_2 + 1);\n  return;\n}" primitive_type (function_declarator "FUN_002a0ac0(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  undefined1 uVar1;\n  undefined8 uVar2;\n  long lVar3;\n  long lVar4;\n  \n  lVar4 = *(long *)(*param_1 + -0x18) + (long)param_1;\n  lVar3 = *(long *)(*param_2 + -0x18) + (long)param_2;\n  FUN_002b4f60(lVar4,lVar3);\n  FUN_0029cc70(lVar4,lVar4 + 0xd0);\n  FUN_0029cc70(lVar3,lVar3 + 0xd0);\n  uVar2 = *(undefined8 *)(lVar4 + 0xd8);\n  *(undefined8 *)(lVar4 + 0xd8) = *(undefined8 *)(lVar3 + 0xd8);\n  *(undefined8 *)(lVar3 + 0xd8) = uVar2;\n  uVar1 = *(undefined1 *)(lVar4 + 0xe0);\n  *(undefined1 *)(lVar4 + 0xe0) = *(undefined1 *)(lVar3 + 0xe0);\n  *(undefined1 *)(lVar3 + 0xe0) = uVar1;\n  uVar1 = *(undefined1 *)(lVar4 + 0xe1);\n  *(undefined1 *)(lVar4 + 0xe1) = *(undefined1 *)(lVar3 + 0xe1);\n  *(undefined1 *)(lVar3 + 0xe1) = uVar1;\n  FUN_0029f700(param_1 + 1,param_2 + 1);\n  return;\n}" { (declaration "undefined1 uVar1;" type_identifier identifier ;) (declaration "undefined8 uVar2;" type_identifier identifier ;) (declaration "long lVar3;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar4;" (sized_type_specifier "long" long) identifier ;) (expression_statement "lVar4 = *(long *)(*param_1 + -0x18) + (long)param_1;" (assignment_expression "lVar4 = *(long *)(*param_1 + -0x18) + (long)param_1" identifier = (binary_expression "*(long *)(*param_1 + -0x18) + (long)param_1" (pointer_expression "*(long *)(*param_1 + -0x18)" * (cast_expression "(long *)(*param_1 + -0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + -0x18)" ( (binary_expression "*param_1 + -0x18" (pointer_expression "*param_1" * identifier) + number_literal) )))) + (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier))) ;) (expression_statement "lVar3 = *(long *)(*param_2 + -0x18) + (long)param_2;" (assignment_expression "lVar3 = *(long *)(*param_2 + -0x18) + (long)param_2" identifier = (binary_expression "*(long *)(*param_2 + -0x18) + (long)param_2" (pointer_expression "*(long *)(*param_2 + -0x18)" * (cast_expression "(long *)(*param_2 + -0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_2 + -0x18)" ( (binary_expression "*param_2 + -0x18" (pointer_expression "*param_2" * identifier) + number_literal) )))) + (cast_expression "(long)param_2" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier))) ;) (expression_statement "FUN_002b4f60(lVar4,lVar3);" (call_expression "FUN_002b4f60(lVar4,lVar3)" identifier (argument_list "(lVar4,lVar3)" ( identifier , identifier ))) ;) (expression_statement "FUN_0029cc70(lVar4,lVar4 + 0xd0);" (call_expression "FUN_0029cc70(lVar4,lVar4 + 0xd0)" identifier (argument_list "(lVar4,lVar4 + 0xd0)" ( identifier , (binary_expression "lVar4 + 0xd0" identifier + number_literal) ))) ;) (expression_statement "FUN_0029cc70(lVar3,lVar3 + 0xd0);" (call_expression "FUN_0029cc70(lVar3,lVar3 + 0xd0)" identifier (argument_list "(lVar3,lVar3 + 0xd0)" ( identifier , (binary_expression "lVar3 + 0xd0" identifier + number_literal) ))) ;) (expression_statement "uVar2 = *(undefined8 *)(lVar4 + 0xd8);" (assignment_expression "uVar2 = *(undefined8 *)(lVar4 + 0xd8)" identifier = (pointer_expression "*(undefined8 *)(lVar4 + 0xd8)" * (cast_expression "(undefined8 *)(lVar4 + 0xd8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar4 + 0xd8)" ( (binary_expression "lVar4 + 0xd8" identifier + number_literal) ))))) ;) (expression_statement "*(undefined8 *)(lVar4 + 0xd8) = *(undefined8 *)(lVar3 + 0xd8);" (assignment_expression "*(undefined8 *)(lVar4 + 0xd8) = *(undefined8 *)(lVar3 + 0xd8)" (pointer_expression "*(undefined8 *)(lVar4 + 0xd8)" * (cast_expression "(undefined8 *)(lVar4 + 0xd8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar4 + 0xd8)" ( (binary_expression "lVar4 + 0xd8" identifier + number_literal) )))) = (pointer_expression "*(undefined8 *)(lVar3 + 0xd8)" * (cast_expression "(undefined8 *)(lVar3 + 0xd8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + 0xd8)" ( (binary_expression "lVar3 + 0xd8" identifier + number_literal) ))))) ;) (expression_statement "*(undefined8 *)(lVar3 + 0xd8) = uVar2;" (assignment_expression "*(undefined8 *)(lVar3 + 0xd8) = uVar2" (pointer_expression "*(undefined8 *)(lVar3 + 0xd8)" * (cast_expression "(undefined8 *)(lVar3 + 0xd8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + 0xd8)" ( (binary_expression "lVar3 + 0xd8" identifier + number_literal) )))) = identifier) ;) (expression_statement "uVar1 = *(undefined1 *)(lVar4 + 0xe0);" (assignment_expression "uVar1 = *(undefined1 *)(lVar4 + 0xe0)" identifier = (pointer_expression "*(undefined1 *)(lVar4 + 0xe0)" * (cast_expression "(undefined1 *)(lVar4 + 0xe0)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar4 + 0xe0)" ( (binary_expression "lVar4 + 0xe0" identifier + number_literal) ))))) ;) (expression_statement "*(undefined1 *)(lVar4 + 0xe0) = *(undefined1 *)(lVar3 + 0xe0);" (assignment_expression "*(undefined1 *)(lVar4 + 0xe0) = *(undefined1 *)(lVar3 + 0xe0)" (pointer_expression "*(undefined1 *)(lVar4 + 0xe0)" * (cast_expression "(undefined1 *)(lVar4 + 0xe0)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar4 + 0xe0)" ( (binary_expression "lVar4 + 0xe0" identifier + number_literal) )))) = (pointer_expression "*(undefined1 *)(lVar3 + 0xe0)" * (cast_expression "(undefined1 *)(lVar3 + 0xe0)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + 0xe0)" ( (binary_expression "lVar3 + 0xe0" identifier + number_literal) ))))) ;) (expression_statement "*(undefined1 *)(lVar3 + 0xe0) = uVar1;" (assignment_expression "*(undefined1 *)(lVar3 + 0xe0) = uVar1" (pointer_expression "*(undefined1 *)(lVar3 + 0xe0)" * (cast_expression "(undefined1 *)(lVar3 + 0xe0)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + 0xe0)" ( (binary_expression "lVar3 + 0xe0" identifier + number_literal) )))) = identifier) ;) (expression_statement "uVar1 = *(undefined1 *)(lVar4 + 0xe1);" (assignment_expression "uVar1 = *(undefined1 *)(lVar4 + 0xe1)" identifier = (pointer_expression "*(undefined1 *)(lVar4 + 0xe1)" * (cast_expression "(undefined1 *)(lVar4 + 0xe1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar4 + 0xe1)" ( (binary_expression "lVar4 + 0xe1" identifier + number_literal) ))))) ;) (expression_statement "*(undefined1 *)(lVar4 + 0xe1) = *(undefined1 *)(lVar3 + 0xe1);" (assignment_expression "*(undefined1 *)(lVar4 + 0xe1) = *(undefined1 *)(lVar3 + 0xe1)" (pointer_expression "*(undefined1 *)(lVar4 + 0xe1)" * (cast_expression "(undefined1 *)(lVar4 + 0xe1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar4 + 0xe1)" ( (binary_expression "lVar4 + 0xe1" identifier + number_literal) )))) = (pointer_expression "*(undefined1 *)(lVar3 + 0xe1)" * (cast_expression "(undefined1 *)(lVar3 + 0xe1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + 0xe1)" ( (binary_expression "lVar3 + 0xe1" identifier + number_literal) ))))) ;) (expression_statement "*(undefined1 *)(lVar3 + 0xe1) = uVar1;" (assignment_expression "*(undefined1 *)(lVar3 + 0xe1) = uVar1" (pointer_expression "*(undefined1 *)(lVar3 + 0xe1)" * (cast_expression "(undefined1 *)(lVar3 + 0xe1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + 0xe1)" ( (binary_expression "lVar3 + 0xe1" identifier + number_literal) )))) = identifier) ;) (expression_statement "FUN_0029f700(param_1 + 1,param_2 + 1);" (call_expression "FUN_0029f700(param_1 + 1,param_2 + 1)" identifier (argument_list "(param_1 + 1,param_2 + 1)" ( (binary_expression "param_1 + 1" identifier + number_literal) , (binary_expression "param_2 + 1" 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 TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) + (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) + (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (binary_expression IDENT + LIT) ))) ;) (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) )))) = (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) )))) = IDENT) ;) (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) )))) = (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) )))) = IDENT) ;) (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) )))) = (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) )))) = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) ))) ;) (return_statement return ;) })))
(function_definition "void FUN_002a0ac0(long *param_1,long *param_2)\n\n{\n  undefined1 uVar1;\n  undefined8 uVar2;\n  long lVar3;\n  long lVar4;\n  \n  lVar4 = *(long *)(*param_1 + -0x18) + (long)param_1;\n  lVar3 = *(long *)(*param_2 + -0x18) + (long)param_2;\n  FUN_002b4f60(lVar4,lVar3);\n  FUN_0029cc70(lVar4,lVar4 + 0xd0);\n  FUN_0029cc70(lVar3,lVar3 + 0xd0);\n  uVar2 = *(undefined8 *)(lVar4 + 0xd8);\n  *(undefined8 *)(lVar4 + 0xd8) = *(undefined8 *)(lVar3 + 0xd8);\n  *(undefined8 *)(lVar3 + 0xd8) = uVar2;\n  uVar1 = *(undefined1 *)(lVar4 + 0xe0);\n  *(undefined1 *)(lVar4 + 0xe0) = *(undefined1 *)(lVar3 + 0xe0);\n  *(undefined1 *)(lVar3 + 0xe0) = uVar1;\n  uVar1 = *(undefined1 *)(lVar4 + 0xe1);\n  *(undefined1 *)(lVar4 + 0xe1) = *(undefined1 *)(lVar3 + 0xe1);\n  *(undefined1 *)(lVar3 + 0xe1) = uVar1;\n  FUN_0029f700(param_1 + 1,param_2 + 1);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_002a0ac0(long *param_1,long *param_2)" (identifier "FUN_002a0ac0") (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  undefined1 uVar1;\n  undefined8 uVar2;\n  long lVar3;\n  long lVar4;\n  \n  lVar4 = *(long *)(*param_1 + -0x18) + (long)param_1;\n  lVar3 = *(long *)(*param_2 + -0x18) + (long)param_2;\n  FUN_002b4f60(lVar4,lVar3);\n  FUN_0029cc70(lVar4,lVar4 + 0xd0);\n  FUN_0029cc70(lVar3,lVar3 + 0xd0);\n  uVar2 = *(undefined8 *)(lVar4 + 0xd8);\n  *(undefined8 *)(lVar4 + 0xd8) = *(undefined8 *)(lVar3 + 0xd8);\n  *(undefined8 *)(lVar3 + 0xd8) = uVar2;\n  uVar1 = *(undefined1 *)(lVar4 + 0xe0);\n  *(undefined1 *)(lVar4 + 0xe0) = *(undefined1 *)(lVar3 + 0xe0);\n  *(undefined1 *)(lVar3 + 0xe0) = uVar1;\n  uVar1 = *(undefined1 *)(lVar4 + 0xe1);\n  *(undefined1 *)(lVar4 + 0xe1) = *(undefined1 *)(lVar3 + 0xe1);\n  *(undefined1 *)(lVar3 + 0xe1) = uVar1;\n  FUN_0029f700(param_1 + 1,param_2 + 1);\n  return;\n}" ({ "{") (declaration "undefined1 uVar1;" (type_identifier "undefined1") (identifier "uVar1") (; ";")) (declaration "undefined8 uVar2;" (type_identifier "undefined8") (identifier "uVar2") (; ";")) (declaration "long lVar3;" (sized_type_specifier "long" (long "long")) (identifier "lVar3") (; ";")) (declaration "long lVar4;" (sized_type_specifier "long" (long "long")) (identifier "lVar4") (; ";")) (expression_statement "lVar4 = *(long *)(*param_1 + -0x18) + (long)param_1;" (assignment_expression "lVar4 = *(long *)(*param_1 + -0x18) + (long)param_1" (identifier "lVar4") (= "=") (binary_expression "*(long *)(*param_1 + -0x18) + (long)param_1" (pointer_expression "*(long *)(*param_1 + -0x18)" (* "*") (cast_expression "(long *)(*param_1 + -0x18)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_1 + -0x18)" (( "(") (binary_expression "*param_1 + -0x18" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "-0x18")) () ")")))) (+ "+") (cast_expression "(long)param_1" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_1")))) (; ";")) (expression_statement "lVar3 = *(long *)(*param_2 + -0x18) + (long)param_2;" (assignment_expression "lVar3 = *(long *)(*param_2 + -0x18) + (long)param_2" (identifier "lVar3") (= "=") (binary_expression "*(long *)(*param_2 + -0x18) + (long)param_2" (pointer_expression "*(long *)(*param_2 + -0x18)" (* "*") (cast_expression "(long *)(*param_2 + -0x18)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_2 + -0x18)" (( "(") (binary_expression "*param_2 + -0x18" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (+ "+") (number_literal "-0x18")) () ")")))) (+ "+") (cast_expression "(long)param_2" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_2")))) (; ";")) (expression_statement "FUN_002b4f60(lVar4,lVar3);" (call_expression "FUN_002b4f60(lVar4,lVar3)" (identifier "FUN_002b4f60") (argument_list "(lVar4,lVar3)" (( "(") (identifier "lVar4") (, ",") (identifier "lVar3") () ")"))) (; ";")) (expression_statement "FUN_0029cc70(lVar4,lVar4 + 0xd0);" (call_expression "FUN_0029cc70(lVar4,lVar4 + 0xd0)" (identifier "FUN_0029cc70") (argument_list "(lVar4,lVar4 + 0xd0)" (( "(") (identifier "lVar4") (, ",") (binary_expression "lVar4 + 0xd0" (identifier "lVar4") (+ "+") (number_literal "0xd0")) () ")"))) (; ";")) (expression_statement "FUN_0029cc70(lVar3,lVar3 + 0xd0);" (call_expression "FUN_0029cc70(lVar3,lVar3 + 0xd0)" (identifier "FUN_0029cc70") (argument_list "(lVar3,lVar3 + 0xd0)" (( "(") (identifier "lVar3") (, ",") (binary_expression "lVar3 + 0xd0" (identifier "lVar3") (+ "+") (number_literal "0xd0")) () ")"))) (; ";")) (expression_statement "uVar2 = *(undefined8 *)(lVar4 + 0xd8);" (assignment_expression "uVar2 = *(undefined8 *)(lVar4 + 0xd8)" (identifier "uVar2") (= "=") (pointer_expression "*(undefined8 *)(lVar4 + 0xd8)" (* "*") (cast_expression "(undefined8 *)(lVar4 + 0xd8)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar4 + 0xd8)" (( "(") (binary_expression "lVar4 + 0xd8" (identifier "lVar4") (+ "+") (number_literal "0xd8")) () ")"))))) (; ";")) (expression_statement "*(undefined8 *)(lVar4 + 0xd8) = *(undefined8 *)(lVar3 + 0xd8);" (assignment_expression "*(undefined8 *)(lVar4 + 0xd8) = *(undefined8 *)(lVar3 + 0xd8)" (pointer_expression "*(undefined8 *)(lVar4 + 0xd8)" (* "*") (cast_expression "(undefined8 *)(lVar4 + 0xd8)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar4 + 0xd8)" (( "(") (binary_expression "lVar4 + 0xd8" (identifier "lVar4") (+ "+") (number_literal "0xd8")) () ")")))) (= "=") (pointer_expression "*(undefined8 *)(lVar3 + 0xd8)" (* "*") (cast_expression "(undefined8 *)(lVar3 + 0xd8)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar3 + 0xd8)" (( "(") (binary_expression "lVar3 + 0xd8" (identifier "lVar3") (+ "+") (number_literal "0xd8")) () ")"))))) (; ";")) (expression_statement "*(undefined8 *)(lVar3 + 0xd8) = uVar2;" (assignment_expression "*(undefined8 *)(lVar3 + 0xd8) = uVar2" (pointer_expression "*(undefined8 *)(lVar3 + 0xd8)" (* "*") (cast_expression "(undefined8 *)(lVar3 + 0xd8)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar3 + 0xd8)" (( "(") (binary_expression "lVar3 + 0xd8" (identifier "lVar3") (+ "+") (number_literal "0xd8")) () ")")))) (= "=") (identifier "uVar2")) (; ";")) (expression_statement "uVar1 = *(undefined1 *)(lVar4 + 0xe0);" (assignment_expression "uVar1 = *(undefined1 *)(lVar4 + 0xe0)" (identifier "uVar1") (= "=") (pointer_expression "*(undefined1 *)(lVar4 + 0xe0)" (* "*") (cast_expression "(undefined1 *)(lVar4 + 0xe0)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar4 + 0xe0)" (( "(") (binary_expression "lVar4 + 0xe0" (identifier "lVar4") (+ "+") (number_literal "0xe0")) () ")"))))) (; ";")) (expression_statement "*(undefined1 *)(lVar4 + 0xe0) = *(undefined1 *)(lVar3 + 0xe0);" (assignment_expression "*(undefined1 *)(lVar4 + 0xe0) = *(undefined1 *)(lVar3 + 0xe0)" (pointer_expression "*(undefined1 *)(lVar4 + 0xe0)" (* "*") (cast_expression "(undefined1 *)(lVar4 + 0xe0)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar4 + 0xe0)" (( "(") (binary_expression "lVar4 + 0xe0" (identifier "lVar4") (+ "+") (number_literal "0xe0")) () ")")))) (= "=") (pointer_expression "*(undefined1 *)(lVar3 + 0xe0)" (* "*") (cast_expression "(undefined1 *)(lVar3 + 0xe0)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar3 + 0xe0)" (( "(") (binary_expression "lVar3 + 0xe0" (identifier "lVar3") (+ "+") (number_literal "0xe0")) () ")"))))) (; ";")) (expression_statement "*(undefined1 *)(lVar3 + 0xe0) = uVar1;" (assignment_expression "*(undefined1 *)(lVar3 + 0xe0) = uVar1" (pointer_expression "*(undefined1 *)(lVar3 + 0xe0)" (* "*") (cast_expression "(undefined1 *)(lVar3 + 0xe0)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar3 + 0xe0)" (( "(") (binary_expression "lVar3 + 0xe0" (identifier "lVar3") (+ "+") (number_literal "0xe0")) () ")")))) (= "=") (identifier "uVar1")) (; ";")) (expression_statement "uVar1 = *(undefined1 *)(lVar4 + 0xe1);" (assignment_expression "uVar1 = *(undefined1 *)(lVar4 + 0xe1)" (identifier "uVar1") (= "=") (pointer_expression "*(undefined1 *)(lVar4 + 0xe1)" (* "*") (cast_expression "(undefined1 *)(lVar4 + 0xe1)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar4 + 0xe1)" (( "(") (binary_expression "lVar4 + 0xe1" (identifier "lVar4") (+ "+") (number_literal "0xe1")) () ")"))))) (; ";")) (expression_statement "*(undefined1 *)(lVar4 + 0xe1) = *(undefined1 *)(lVar3 + 0xe1);" (assignment_expression "*(undefined1 *)(lVar4 + 0xe1) = *(undefined1 *)(lVar3 + 0xe1)" (pointer_expression "*(undefined1 *)(lVar4 + 0xe1)" (* "*") (cast_expression "(undefined1 *)(lVar4 + 0xe1)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar4 + 0xe1)" (( "(") (binary_expression "lVar4 + 0xe1" (identifier "lVar4") (+ "+") (number_literal "0xe1")) () ")")))) (= "=") (pointer_expression "*(undefined1 *)(lVar3 + 0xe1)" (* "*") (cast_expression "(undefined1 *)(lVar3 + 0xe1)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar3 + 0xe1)" (( "(") (binary_expression "lVar3 + 0xe1" (identifier "lVar3") (+ "+") (number_literal "0xe1")) () ")"))))) (; ";")) (expression_statement "*(undefined1 *)(lVar3 + 0xe1) = uVar1;" (assignment_expression "*(undefined1 *)(lVar3 + 0xe1) = uVar1" (pointer_expression "*(undefined1 *)(lVar3 + 0xe1)" (* "*") (cast_expression "(undefined1 *)(lVar3 + 0xe1)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar3 + 0xe1)" (( "(") (binary_expression "lVar3 + 0xe1" (identifier "lVar3") (+ "+") (number_literal "0xe1")) () ")")))) (= "=") (identifier "uVar1")) (; ";")) (expression_statement "FUN_0029f700(param_1 + 1,param_2 + 1);" (call_expression "FUN_0029f700(param_1 + 1,param_2 + 1)" (identifier "FUN_0029f700") (argument_list "(param_1 + 1,param_2 + 1)" (( "(") (binary_expression "param_1 + 1" (identifier "param_1") (+ "+") (number_literal "1")) (, ",") (binary_expression "param_2 + 1" (identifier "param_2") (+ "+") (number_literal "1")) () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* std::ofstream::swap(std::ofstream&) */

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

{
  type_2 iVar1;
  type_3 uVar2;
  type_2 *var_6;
  type_4 *var_5;
  
  var_5 = (type_4 *)(var_1 + *(long *)(*(long *)var_1 + -0x18));
  var_6 = (type_2 *)(var_2 + *(long *)(*(long *)var_2 + -0x18));
  ios_base::var_3(var_5,(type_4 *)var_6);
  ios::var_4((type_2 *)var_5,(type_5 *)(var_5 + 0xd0));
  ios::var_4(var_6,(type_5 *)(var_6 + 0xd0));
  uVar2 = *(type_3 *)(var_5 + 0xd8);
  *(type_3 *)(var_5 + 0xd8) = *(type_3 *)(var_6 + 0xd8);
  *(type_3 *)(var_6 + 0xd8) = uVar2;
  iVar1 = *(type_2 *)(var_5 + 0xe0);
  *(type_2 *)(var_5 + 0xe0) = var_6[0xe0];
  var_6[0xe0] = iVar1;
  iVar1 = *(type_2 *)(var_5 + 0xe1);
  *(type_2 *)(var_5 + 0xe1) = var_6[0xe1];
  var_6[0xe1] = iVar1;
  filebuf::function_1((type_6 *)(var_1 + 8),(type_6 *)(var_2 + 8));
  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: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (sized_type_specifier) declarator: (identifier)) (declaration type: (sized_type_specifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (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: (pointer_expression argument: (identifier)) right: (number_literal))))) right: (cast_expression type: (type_descriptor type: (sized_type_specifier)) value: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (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: (pointer_expression argument: (identifier)) right: (number_literal))))) right: (cast_expression type: (type_descriptor type: (sized_type_specifier)) value: (identifier))))) (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 (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: (type_identifier) 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: (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: (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: (identifier))) (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: (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: (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: (identifier))) (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: (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: (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: (identifier))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (binary_expression left: (identifier) right: (number_literal))))) (return_statement))))

void MASKED(long *param_1,long *param_2)

{
  undefined1 uVar1;
  undefined8 uVar2;
  long lVar3;
  long lVar4;
  
  lVar4 = *(long *)(*param_1 + -0x18) + (long)param_1;
  lVar3 = *(long *)(*param_2 + -0x18) + (long)param_2;
  FUN_002b4f60(lVar4,lVar3);
  FUN_0029cc70(lVar4,lVar4 + 0xd0);
  FUN_0029cc70(lVar3,lVar3 + 0xd0);
  uVar2 = *(undefined8 *)(lVar4 + 0xd8);
  *(undefined8 *)(lVar4 + 0xd8) = *(undefined8 *)(lVar3 + 0xd8);
  *(undefined8 *)(lVar3 + 0xd8) = uVar2;
  uVar1 = *(undefined1 *)(lVar4 + 0xe0);
  *(undefined1 *)(lVar4 + 0xe0) = *(undefined1 *)(lVar3 + 0xe0);
  *(undefined1 *)(lVar3 + 0xe0) = uVar1;
  uVar1 = *(undefined1 *)(lVar4 + 0xe1);
  *(undefined1 *)(lVar4 + 0xe1) = *(undefined1 *)(lVar3 + 0xe1);
  *(undefined1 *)(lVar3 + 0xe1) = uVar1;
  FUN_0029f700(param_1 + 1,param_2 + 1);
  return;
}

