
void ReversePoints(PointInfo *points,size_t number_points)

{
  undefined4 uVar1;
  undefined4 uVar2;
  PointInfo *pPVar3;
  PointInfo *pPVar4;
  PointInfo *pPVar5;
  undefined4 uVar6;
  double dVar7;
  double dVar8;
  
  if (number_points >> 1 != 0) {
    pPVar3 = points;
    pPVar5 = points + number_points;
    do {
      dVar8 = pPVar3->x;
      pPVar4 = pPVar3 + 1;
      uVar6 = *(undefined4 *)((int)&pPVar5[-1].x + 4);
      uVar2 = *(undefined4 *)&pPVar5[-1].y;
      uVar1 = *(undefined4 *)((int)&pPVar5[-1].y + 4);
      dVar7 = pPVar3->y;
      *(undefined4 *)&pPVar3->x = *(undefined4 *)&pPVar5[-1].x;
      *(undefined4 *)((int)&pPVar3->x + 4) = uVar6;
      *(undefined4 *)&pPVar3->y = uVar2;
      *(undefined4 *)((int)&pPVar3->y + 4) = uVar1;
      pPVar5[-1].x = dVar8;
      pPVar5[-1].y = dVar7;
      pPVar3 = pPVar4;
      pPVar5 = pPVar5 + -1;
    } while (pPVar4 != points + (number_points >> 1));
  }
  return;
}



void FUN_00099644(undefined8 *param_1,uint param_2)

{
  undefined4 uVar1;
  undefined4 uVar2;
  undefined8 *puVar3;
  undefined8 *puVar4;
  undefined8 *puVar5;
  undefined4 uVar6;
  undefined8 uVar7;
  undefined8 uVar8;
  
  if (param_2 >> 1 != 0) {
    puVar3 = param_1;
    puVar5 = param_1 + param_2 * 2;
    do {
      uVar8 = *puVar3;
      puVar4 = puVar3 + 2;
      uVar6 = *(undefined4 *)((int)puVar5 + -0xc);
      uVar2 = *(undefined4 *)(puVar5 + -1);
      uVar1 = *(undefined4 *)((int)puVar5 + -4);
      uVar7 = puVar3[1];
      *(undefined4 *)puVar3 = *(undefined4 *)(puVar5 + -2);
      *(undefined4 *)((int)puVar3 + 4) = uVar6;
      *(undefined4 *)(puVar3 + 1) = uVar2;
      *(undefined4 *)((int)puVar3 + 0xc) = uVar1;
      puVar5[-2] = uVar8;
      puVar5[-1] = uVar7;
      puVar3 = puVar4;
      puVar5 = puVar5 + -2;
    } while (puVar4 != param_1 + (param_2 >> 1) * 2);
  }
  return;
}


srl t0,a1,0x1
beq t0,zero,0x00099698
_sll a1,a1,0x4
sll t0,t0,0x4
addu a1,a0,a1
addu t0,a0,t0
ldc1 f2,0x0(a0)
addiu a0,a0,0x10
lw a3,-0x10(a1)
addiu a1,a1,-0x10
lw a2,0x4(a1)
lw v1,0x8(a1)
lw v0,0xc(a1)
ldc1 f0,-0x8(a0)
sw a3,-0x10(a0)
sw a2,-0xc(a0)
sw v1,-0x8(a0)
sw v0,-0x4(a0)
sdc1 f2,0x0(a1)
bne a0,t0,0x0009965c
_sdc1 f0,0x8(a1)
jr ra
_nop
(translation_unit "void FUN_00099644(undefined8 *param_1,uint param_2)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  undefined8 *puVar3;\n  undefined8 *puVar4;\n  undefined8 *puVar5;\n  undefined4 uVar6;\n  undefined8 uVar7;\n  undefined8 uVar8;\n  \n  if (param_2 >> 1 != 0) {\n    puVar3 = param_1;\n    puVar5 = param_1 + param_2 * 2;\n    do {\n      uVar8 = *puVar3;\n      puVar4 = puVar3 + 2;\n      uVar6 = *(undefined4 *)((int)puVar5 + -0xc);\n      uVar2 = *(undefined4 *)(puVar5 + -1);\n      uVar1 = *(undefined4 *)((int)puVar5 + -4);\n      uVar7 = puVar3[1];\n      *(undefined4 *)puVar3 = *(undefined4 *)(puVar5 + -2);\n      *(undefined4 *)((int)puVar3 + 4) = uVar6;\n      *(undefined4 *)(puVar3 + 1) = uVar2;\n      *(undefined4 *)((int)puVar3 + 0xc) = uVar1;\n      puVar5[-2] = uVar8;\n      puVar5[-1] = uVar7;\n      puVar3 = puVar4;\n      puVar5 = puVar5 + -2;\n    } while (puVar4 != param_1 + (param_2 >> 1) * 2);\n  }\n  return;\n}\n\n" (function_definition "void FUN_00099644(undefined8 *param_1,uint param_2)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  undefined8 *puVar3;\n  undefined8 *puVar4;\n  undefined8 *puVar5;\n  undefined4 uVar6;\n  undefined8 uVar7;\n  undefined8 uVar8;\n  \n  if (param_2 >> 1 != 0) {\n    puVar3 = param_1;\n    puVar5 = param_1 + param_2 * 2;\n    do {\n      uVar8 = *puVar3;\n      puVar4 = puVar3 + 2;\n      uVar6 = *(undefined4 *)((int)puVar5 + -0xc);\n      uVar2 = *(undefined4 *)(puVar5 + -1);\n      uVar1 = *(undefined4 *)((int)puVar5 + -4);\n      uVar7 = puVar3[1];\n      *(undefined4 *)puVar3 = *(undefined4 *)(puVar5 + -2);\n      *(undefined4 *)((int)puVar3 + 4) = uVar6;\n      *(undefined4 *)(puVar3 + 1) = uVar2;\n      *(undefined4 *)((int)puVar3 + 0xc) = uVar1;\n      puVar5[-2] = uVar8;\n      puVar5[-1] = uVar7;\n      puVar3 = puVar4;\n      puVar5 = puVar5 + -2;\n    } while (puVar4 != param_1 + (param_2 >> 1) * 2);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00099644(undefined8 *param_1,uint param_2)" identifier (parameter_list "(undefined8 *param_1,uint param_2)" ( (parameter_declaration "undefined8 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "uint param_2" type_identifier identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  undefined8 *puVar3;\n  undefined8 *puVar4;\n  undefined8 *puVar5;\n  undefined4 uVar6;\n  undefined8 uVar7;\n  undefined8 uVar8;\n  \n  if (param_2 >> 1 != 0) {\n    puVar3 = param_1;\n    puVar5 = param_1 + param_2 * 2;\n    do {\n      uVar8 = *puVar3;\n      puVar4 = puVar3 + 2;\n      uVar6 = *(undefined4 *)((int)puVar5 + -0xc);\n      uVar2 = *(undefined4 *)(puVar5 + -1);\n      uVar1 = *(undefined4 *)((int)puVar5 + -4);\n      uVar7 = puVar3[1];\n      *(undefined4 *)puVar3 = *(undefined4 *)(puVar5 + -2);\n      *(undefined4 *)((int)puVar3 + 4) = uVar6;\n      *(undefined4 *)(puVar3 + 1) = uVar2;\n      *(undefined4 *)((int)puVar3 + 0xc) = uVar1;\n      puVar5[-2] = uVar8;\n      puVar5[-1] = uVar7;\n      puVar3 = puVar4;\n      puVar5 = puVar5 + -2;\n    } while (puVar4 != param_1 + (param_2 >> 1) * 2);\n  }\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "undefined8 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "undefined8 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "undefined8 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "undefined4 uVar6;" type_identifier identifier ;) (declaration "undefined8 uVar7;" type_identifier identifier ;) (declaration "undefined8 uVar8;" type_identifier identifier ;) (if_statement "if (param_2 >> 1 != 0) {\n    puVar3 = param_1;\n    puVar5 = param_1 + param_2 * 2;\n    do {\n      uVar8 = *puVar3;\n      puVar4 = puVar3 + 2;\n      uVar6 = *(undefined4 *)((int)puVar5 + -0xc);\n      uVar2 = *(undefined4 *)(puVar5 + -1);\n      uVar1 = *(undefined4 *)((int)puVar5 + -4);\n      uVar7 = puVar3[1];\n      *(undefined4 *)puVar3 = *(undefined4 *)(puVar5 + -2);\n      *(undefined4 *)((int)puVar3 + 4) = uVar6;\n      *(undefined4 *)(puVar3 + 1) = uVar2;\n      *(undefined4 *)((int)puVar3 + 0xc) = uVar1;\n      puVar5[-2] = uVar8;\n      puVar5[-1] = uVar7;\n      puVar3 = puVar4;\n      puVar5 = puVar5 + -2;\n    } while (puVar4 != param_1 + (param_2 >> 1) * 2);\n  }" if (parenthesized_expression "(param_2 >> 1 != 0)" ( (binary_expression "param_2 >> 1 != 0" (binary_expression "param_2 >> 1" identifier >> number_literal) != number_literal) )) (compound_statement "{\n    puVar3 = param_1;\n    puVar5 = param_1 + param_2 * 2;\n    do {\n      uVar8 = *puVar3;\n      puVar4 = puVar3 + 2;\n      uVar6 = *(undefined4 *)((int)puVar5 + -0xc);\n      uVar2 = *(undefined4 *)(puVar5 + -1);\n      uVar1 = *(undefined4 *)((int)puVar5 + -4);\n      uVar7 = puVar3[1];\n      *(undefined4 *)puVar3 = *(undefined4 *)(puVar5 + -2);\n      *(undefined4 *)((int)puVar3 + 4) = uVar6;\n      *(undefined4 *)(puVar3 + 1) = uVar2;\n      *(undefined4 *)((int)puVar3 + 0xc) = uVar1;\n      puVar5[-2] = uVar8;\n      puVar5[-1] = uVar7;\n      puVar3 = puVar4;\n      puVar5 = puVar5 + -2;\n    } while (puVar4 != param_1 + (param_2 >> 1) * 2);\n  }" { (expression_statement "puVar3 = param_1;" (assignment_expression "puVar3 = param_1" identifier = identifier) ;) (expression_statement "puVar5 = param_1 + param_2 * 2;" (assignment_expression "puVar5 = param_1 + param_2 * 2" identifier = (binary_expression "param_1 + param_2 * 2" identifier + (binary_expression "param_2 * 2" identifier * number_literal))) ;) (do_statement "do {\n      uVar8 = *puVar3;\n      puVar4 = puVar3 + 2;\n      uVar6 = *(undefined4 *)((int)puVar5 + -0xc);\n      uVar2 = *(undefined4 *)(puVar5 + -1);\n      uVar1 = *(undefined4 *)((int)puVar5 + -4);\n      uVar7 = puVar3[1];\n      *(undefined4 *)puVar3 = *(undefined4 *)(puVar5 + -2);\n      *(undefined4 *)((int)puVar3 + 4) = uVar6;\n      *(undefined4 *)(puVar3 + 1) = uVar2;\n      *(undefined4 *)((int)puVar3 + 0xc) = uVar1;\n      puVar5[-2] = uVar8;\n      puVar5[-1] = uVar7;\n      puVar3 = puVar4;\n      puVar5 = puVar5 + -2;\n    } while (puVar4 != param_1 + (param_2 >> 1) * 2);" do (compound_statement "{\n      uVar8 = *puVar3;\n      puVar4 = puVar3 + 2;\n      uVar6 = *(undefined4 *)((int)puVar5 + -0xc);\n      uVar2 = *(undefined4 *)(puVar5 + -1);\n      uVar1 = *(undefined4 *)((int)puVar5 + -4);\n      uVar7 = puVar3[1];\n      *(undefined4 *)puVar3 = *(undefined4 *)(puVar5 + -2);\n      *(undefined4 *)((int)puVar3 + 4) = uVar6;\n      *(undefined4 *)(puVar3 + 1) = uVar2;\n      *(undefined4 *)((int)puVar3 + 0xc) = uVar1;\n      puVar5[-2] = uVar8;\n      puVar5[-1] = uVar7;\n      puVar3 = puVar4;\n      puVar5 = puVar5 + -2;\n    }" { (expression_statement "uVar8 = *puVar3;" (assignment_expression "uVar8 = *puVar3" identifier = (pointer_expression "*puVar3" * identifier)) ;) (expression_statement "puVar4 = puVar3 + 2;" (assignment_expression "puVar4 = puVar3 + 2" identifier = (binary_expression "puVar3 + 2" identifier + number_literal)) ;) (expression_statement "uVar6 = *(undefined4 *)((int)puVar5 + -0xc);" (assignment_expression "uVar6 = *(undefined4 *)((int)puVar5 + -0xc)" identifier = (pointer_expression "*(undefined4 *)((int)puVar5 + -0xc)" * (cast_expression "(undefined4 *)((int)puVar5 + -0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar5 + -0xc)" ( (binary_expression "(int)puVar5 + -0xc" (cast_expression "(int)puVar5" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (expression_statement "uVar2 = *(undefined4 *)(puVar5 + -1);" (assignment_expression "uVar2 = *(undefined4 *)(puVar5 + -1)" identifier = (pointer_expression "*(undefined4 *)(puVar5 + -1)" * (cast_expression "(undefined4 *)(puVar5 + -1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar5 + -1)" ( (binary_expression "puVar5 + -1" identifier + number_literal) ))))) ;) (expression_statement "uVar1 = *(undefined4 *)((int)puVar5 + -4);" (assignment_expression "uVar1 = *(undefined4 *)((int)puVar5 + -4)" identifier = (pointer_expression "*(undefined4 *)((int)puVar5 + -4)" * (cast_expression "(undefined4 *)((int)puVar5 + -4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar5 + -4)" ( (binary_expression "(int)puVar5 + -4" (cast_expression "(int)puVar5" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (expression_statement "uVar7 = puVar3[1];" (assignment_expression "uVar7 = puVar3[1]" identifier = (subscript_expression "puVar3[1]" identifier [ number_literal ])) ;) (expression_statement "*(undefined4 *)puVar3 = *(undefined4 *)(puVar5 + -2);" (assignment_expression "*(undefined4 *)puVar3 = *(undefined4 *)(puVar5 + -2)" (pointer_expression "*(undefined4 *)puVar3" * (cast_expression "(undefined4 *)puVar3" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = (pointer_expression "*(undefined4 *)(puVar5 + -2)" * (cast_expression "(undefined4 *)(puVar5 + -2)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar5 + -2)" ( (binary_expression "puVar5 + -2" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)((int)puVar3 + 4) = uVar6;" (assignment_expression "*(undefined4 *)((int)puVar3 + 4) = uVar6" (pointer_expression "*(undefined4 *)((int)puVar3 + 4)" * (cast_expression "(undefined4 *)((int)puVar3 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar3 + 4)" ( (binary_expression "(int)puVar3 + 4" (cast_expression "(int)puVar3" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(puVar3 + 1) = uVar2;" (assignment_expression "*(undefined4 *)(puVar3 + 1) = uVar2" (pointer_expression "*(undefined4 *)(puVar3 + 1)" * (cast_expression "(undefined4 *)(puVar3 + 1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar3 + 1)" ( (binary_expression "puVar3 + 1" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)((int)puVar3 + 0xc) = uVar1;" (assignment_expression "*(undefined4 *)((int)puVar3 + 0xc) = uVar1" (pointer_expression "*(undefined4 *)((int)puVar3 + 0xc)" * (cast_expression "(undefined4 *)((int)puVar3 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar3 + 0xc)" ( (binary_expression "(int)puVar3 + 0xc" (cast_expression "(int)puVar3" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (expression_statement "puVar5[-2] = uVar8;" (assignment_expression "puVar5[-2] = uVar8" (subscript_expression "puVar5[-2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar5[-1] = uVar7;" (assignment_expression "puVar5[-1] = uVar7" (subscript_expression "puVar5[-1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar3 = puVar4;" (assignment_expression "puVar3 = puVar4" identifier = identifier) ;) (expression_statement "puVar5 = puVar5 + -2;" (assignment_expression "puVar5 = puVar5 + -2" identifier = (binary_expression "puVar5 + -2" identifier + number_literal)) ;) }) while (parenthesized_expression "(puVar4 != param_1 + (param_2 >> 1) * 2)" ( (binary_expression "puVar4 != param_1 + (param_2 >> 1) * 2" identifier != (binary_expression "param_1 + (param_2 >> 1) * 2" identifier + (binary_expression "(param_2 >> 1) * 2" (parenthesized_expression "(param_2 >> 1)" ( (binary_expression "param_2 >> 1" identifier >> number_literal) )) * number_literal))) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void ReversePoints(PointInfo *points,size_t number_points)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  PointInfo *pPVar3;\n  PointInfo *pPVar4;\n  PointInfo *pPVar5;\n  undefined4 uVar6;\n  double dVar7;\n  double dVar8;\n  \n  if (number_points >> 1 != 0) {\n    pPVar3 = points;\n    pPVar5 = points + number_points;\n    do {\n      dVar8 = pPVar3->x;\n      pPVar4 = pPVar3 + 1;\n      uVar6 = *(undefined4 *)((int)&pPVar5[-1].x + 4);\n      uVar2 = *(undefined4 *)&pPVar5[-1].y;\n      uVar1 = *(undefined4 *)((int)&pPVar5[-1].y + 4);\n      dVar7 = pPVar3->y;\n      *(undefined4 *)&pPVar3->x = *(undefined4 *)&pPVar5[-1].x;\n      *(undefined4 *)((int)&pPVar3->x + 4) = uVar6;\n      *(undefined4 *)&pPVar3->y = uVar2;\n      *(undefined4 *)((int)&pPVar3->y + 4) = uVar1;\n      pPVar5[-1].x = dVar8;\n      pPVar5[-1].y = dVar7;\n      pPVar3 = pPVar4;\n      pPVar5 = pPVar5 + -1;\n    } while (pPVar4 != points + (number_points >> 1));\n  }\n  return;\n}\n\n" (function_definition "void ReversePoints(PointInfo *points,size_t number_points)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  PointInfo *pPVar3;\n  PointInfo *pPVar4;\n  PointInfo *pPVar5;\n  undefined4 uVar6;\n  double dVar7;\n  double dVar8;\n  \n  if (number_points >> 1 != 0) {\n    pPVar3 = points;\n    pPVar5 = points + number_points;\n    do {\n      dVar8 = pPVar3->x;\n      pPVar4 = pPVar3 + 1;\n      uVar6 = *(undefined4 *)((int)&pPVar5[-1].x + 4);\n      uVar2 = *(undefined4 *)&pPVar5[-1].y;\n      uVar1 = *(undefined4 *)((int)&pPVar5[-1].y + 4);\n      dVar7 = pPVar3->y;\n      *(undefined4 *)&pPVar3->x = *(undefined4 *)&pPVar5[-1].x;\n      *(undefined4 *)((int)&pPVar3->x + 4) = uVar6;\n      *(undefined4 *)&pPVar3->y = uVar2;\n      *(undefined4 *)((int)&pPVar3->y + 4) = uVar1;\n      pPVar5[-1].x = dVar8;\n      pPVar5[-1].y = dVar7;\n      pPVar3 = pPVar4;\n      pPVar5 = pPVar5 + -1;\n    } while (pPVar4 != points + (number_points >> 1));\n  }\n  return;\n}" primitive_type (function_declarator "ReversePoints(PointInfo *points,size_t number_points)" identifier (parameter_list "(PointInfo *points,size_t number_points)" ( (parameter_declaration "PointInfo *points" type_identifier (pointer_declarator "*points" * identifier)) , (parameter_declaration "size_t number_points" primitive_type identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  PointInfo *pPVar3;\n  PointInfo *pPVar4;\n  PointInfo *pPVar5;\n  undefined4 uVar6;\n  double dVar7;\n  double dVar8;\n  \n  if (number_points >> 1 != 0) {\n    pPVar3 = points;\n    pPVar5 = points + number_points;\n    do {\n      dVar8 = pPVar3->x;\n      pPVar4 = pPVar3 + 1;\n      uVar6 = *(undefined4 *)((int)&pPVar5[-1].x + 4);\n      uVar2 = *(undefined4 *)&pPVar5[-1].y;\n      uVar1 = *(undefined4 *)((int)&pPVar5[-1].y + 4);\n      dVar7 = pPVar3->y;\n      *(undefined4 *)&pPVar3->x = *(undefined4 *)&pPVar5[-1].x;\n      *(undefined4 *)((int)&pPVar3->x + 4) = uVar6;\n      *(undefined4 *)&pPVar3->y = uVar2;\n      *(undefined4 *)((int)&pPVar3->y + 4) = uVar1;\n      pPVar5[-1].x = dVar8;\n      pPVar5[-1].y = dVar7;\n      pPVar3 = pPVar4;\n      pPVar5 = pPVar5 + -1;\n    } while (pPVar4 != points + (number_points >> 1));\n  }\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "PointInfo *pPVar3;" type_identifier (pointer_declarator "*pPVar3" * identifier) ;) (declaration "PointInfo *pPVar4;" type_identifier (pointer_declarator "*pPVar4" * identifier) ;) (declaration "PointInfo *pPVar5;" type_identifier (pointer_declarator "*pPVar5" * identifier) ;) (declaration "undefined4 uVar6;" type_identifier identifier ;) (declaration "double dVar7;" primitive_type identifier ;) (declaration "double dVar8;" primitive_type identifier ;) (if_statement "if (number_points >> 1 != 0) {\n    pPVar3 = points;\n    pPVar5 = points + number_points;\n    do {\n      dVar8 = pPVar3->x;\n      pPVar4 = pPVar3 + 1;\n      uVar6 = *(undefined4 *)((int)&pPVar5[-1].x + 4);\n      uVar2 = *(undefined4 *)&pPVar5[-1].y;\n      uVar1 = *(undefined4 *)((int)&pPVar5[-1].y + 4);\n      dVar7 = pPVar3->y;\n      *(undefined4 *)&pPVar3->x = *(undefined4 *)&pPVar5[-1].x;\n      *(undefined4 *)((int)&pPVar3->x + 4) = uVar6;\n      *(undefined4 *)&pPVar3->y = uVar2;\n      *(undefined4 *)((int)&pPVar3->y + 4) = uVar1;\n      pPVar5[-1].x = dVar8;\n      pPVar5[-1].y = dVar7;\n      pPVar3 = pPVar4;\n      pPVar5 = pPVar5 + -1;\n    } while (pPVar4 != points + (number_points >> 1));\n  }" if (parenthesized_expression "(number_points >> 1 != 0)" ( (binary_expression "number_points >> 1 != 0" (binary_expression "number_points >> 1" identifier >> number_literal) != number_literal) )) (compound_statement "{\n    pPVar3 = points;\n    pPVar5 = points + number_points;\n    do {\n      dVar8 = pPVar3->x;\n      pPVar4 = pPVar3 + 1;\n      uVar6 = *(undefined4 *)((int)&pPVar5[-1].x + 4);\n      uVar2 = *(undefined4 *)&pPVar5[-1].y;\n      uVar1 = *(undefined4 *)((int)&pPVar5[-1].y + 4);\n      dVar7 = pPVar3->y;\n      *(undefined4 *)&pPVar3->x = *(undefined4 *)&pPVar5[-1].x;\n      *(undefined4 *)((int)&pPVar3->x + 4) = uVar6;\n      *(undefined4 *)&pPVar3->y = uVar2;\n      *(undefined4 *)((int)&pPVar3->y + 4) = uVar1;\n      pPVar5[-1].x = dVar8;\n      pPVar5[-1].y = dVar7;\n      pPVar3 = pPVar4;\n      pPVar5 = pPVar5 + -1;\n    } while (pPVar4 != points + (number_points >> 1));\n  }" { (expression_statement "pPVar3 = points;" (assignment_expression "pPVar3 = points" identifier = identifier) ;) (expression_statement "pPVar5 = points + number_points;" (assignment_expression "pPVar5 = points + number_points" identifier = (binary_expression "points + number_points" identifier + identifier)) ;) (do_statement "do {\n      dVar8 = pPVar3->x;\n      pPVar4 = pPVar3 + 1;\n      uVar6 = *(undefined4 *)((int)&pPVar5[-1].x + 4);\n      uVar2 = *(undefined4 *)&pPVar5[-1].y;\n      uVar1 = *(undefined4 *)((int)&pPVar5[-1].y + 4);\n      dVar7 = pPVar3->y;\n      *(undefined4 *)&pPVar3->x = *(undefined4 *)&pPVar5[-1].x;\n      *(undefined4 *)((int)&pPVar3->x + 4) = uVar6;\n      *(undefined4 *)&pPVar3->y = uVar2;\n      *(undefined4 *)((int)&pPVar3->y + 4) = uVar1;\n      pPVar5[-1].x = dVar8;\n      pPVar5[-1].y = dVar7;\n      pPVar3 = pPVar4;\n      pPVar5 = pPVar5 + -1;\n    } while (pPVar4 != points + (number_points >> 1));" do (compound_statement "{\n      dVar8 = pPVar3->x;\n      pPVar4 = pPVar3 + 1;\n      uVar6 = *(undefined4 *)((int)&pPVar5[-1].x + 4);\n      uVar2 = *(undefined4 *)&pPVar5[-1].y;\n      uVar1 = *(undefined4 *)((int)&pPVar5[-1].y + 4);\n      dVar7 = pPVar3->y;\n      *(undefined4 *)&pPVar3->x = *(undefined4 *)&pPVar5[-1].x;\n      *(undefined4 *)((int)&pPVar3->x + 4) = uVar6;\n      *(undefined4 *)&pPVar3->y = uVar2;\n      *(undefined4 *)((int)&pPVar3->y + 4) = uVar1;\n      pPVar5[-1].x = dVar8;\n      pPVar5[-1].y = dVar7;\n      pPVar3 = pPVar4;\n      pPVar5 = pPVar5 + -1;\n    }" { (expression_statement "dVar8 = pPVar3->x;" (assignment_expression "dVar8 = pPVar3->x" identifier = (field_expression "pPVar3->x" identifier -> field_identifier)) ;) (expression_statement "pPVar4 = pPVar3 + 1;" (assignment_expression "pPVar4 = pPVar3 + 1" identifier = (binary_expression "pPVar3 + 1" identifier + number_literal)) ;) (expression_statement "uVar6 = *(undefined4 *)((int)&pPVar5[-1].x + 4);" (assignment_expression "uVar6 = *(undefined4 *)((int)&pPVar5[-1].x + 4)" identifier = (pointer_expression "*(undefined4 *)((int)&pPVar5[-1].x + 4)" * (cast_expression "(undefined4 *)((int)&pPVar5[-1].x + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&pPVar5[-1].x + 4)" ( (binary_expression "(int)&pPVar5[-1].x + 4" (cast_expression "(int)&pPVar5[-1].x" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&pPVar5[-1].x" & (field_expression "pPVar5[-1].x" (subscript_expression "pPVar5[-1]" identifier [ number_literal ]) . field_identifier))) + number_literal) ))))) ;) (expression_statement "uVar2 = *(undefined4 *)&pPVar5[-1].y;" (assignment_expression "uVar2 = *(undefined4 *)&pPVar5[-1].y" identifier = (pointer_expression "*(undefined4 *)&pPVar5[-1].y" * (cast_expression "(undefined4 *)&pPVar5[-1].y" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&pPVar5[-1].y" & (field_expression "pPVar5[-1].y" (subscript_expression "pPVar5[-1]" identifier [ number_literal ]) . field_identifier))))) ;) (expression_statement "uVar1 = *(undefined4 *)((int)&pPVar5[-1].y + 4);" (assignment_expression "uVar1 = *(undefined4 *)((int)&pPVar5[-1].y + 4)" identifier = (pointer_expression "*(undefined4 *)((int)&pPVar5[-1].y + 4)" * (cast_expression "(undefined4 *)((int)&pPVar5[-1].y + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&pPVar5[-1].y + 4)" ( (binary_expression "(int)&pPVar5[-1].y + 4" (cast_expression "(int)&pPVar5[-1].y" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&pPVar5[-1].y" & (field_expression "pPVar5[-1].y" (subscript_expression "pPVar5[-1]" identifier [ number_literal ]) . field_identifier))) + number_literal) ))))) ;) (expression_statement "dVar7 = pPVar3->y;" (assignment_expression "dVar7 = pPVar3->y" identifier = (field_expression "pPVar3->y" identifier -> field_identifier)) ;) (expression_statement "*(undefined4 *)&pPVar3->x = *(undefined4 *)&pPVar5[-1].x;" (assignment_expression "*(undefined4 *)&pPVar3->x = *(undefined4 *)&pPVar5[-1].x" (pointer_expression "*(undefined4 *)&pPVar3->x" * (cast_expression "(undefined4 *)&pPVar3->x" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&pPVar3->x" & (field_expression "pPVar3->x" identifier -> field_identifier)))) = (pointer_expression "*(undefined4 *)&pPVar5[-1].x" * (cast_expression "(undefined4 *)&pPVar5[-1].x" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&pPVar5[-1].x" & (field_expression "pPVar5[-1].x" (subscript_expression "pPVar5[-1]" identifier [ number_literal ]) . field_identifier))))) ;) (expression_statement "*(undefined4 *)((int)&pPVar3->x + 4) = uVar6;" (assignment_expression "*(undefined4 *)((int)&pPVar3->x + 4) = uVar6" (pointer_expression "*(undefined4 *)((int)&pPVar3->x + 4)" * (cast_expression "(undefined4 *)((int)&pPVar3->x + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&pPVar3->x + 4)" ( (binary_expression "(int)&pPVar3->x + 4" (cast_expression "(int)&pPVar3->x" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&pPVar3->x" & (field_expression "pPVar3->x" identifier -> field_identifier))) + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)&pPVar3->y = uVar2;" (assignment_expression "*(undefined4 *)&pPVar3->y = uVar2" (pointer_expression "*(undefined4 *)&pPVar3->y" * (cast_expression "(undefined4 *)&pPVar3->y" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&pPVar3->y" & (field_expression "pPVar3->y" identifier -> field_identifier)))) = identifier) ;) (expression_statement "*(undefined4 *)((int)&pPVar3->y + 4) = uVar1;" (assignment_expression "*(undefined4 *)((int)&pPVar3->y + 4) = uVar1" (pointer_expression "*(undefined4 *)((int)&pPVar3->y + 4)" * (cast_expression "(undefined4 *)((int)&pPVar3->y + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&pPVar3->y + 4)" ( (binary_expression "(int)&pPVar3->y + 4" (cast_expression "(int)&pPVar3->y" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&pPVar3->y" & (field_expression "pPVar3->y" identifier -> field_identifier))) + number_literal) )))) = identifier) ;) (expression_statement "pPVar5[-1].x = dVar8;" (assignment_expression "pPVar5[-1].x = dVar8" (field_expression "pPVar5[-1].x" (subscript_expression "pPVar5[-1]" identifier [ number_literal ]) . field_identifier) = identifier) ;) (expression_statement "pPVar5[-1].y = dVar7;" (assignment_expression "pPVar5[-1].y = dVar7" (field_expression "pPVar5[-1].y" (subscript_expression "pPVar5[-1]" identifier [ number_literal ]) . field_identifier) = identifier) ;) (expression_statement "pPVar3 = pPVar4;" (assignment_expression "pPVar3 = pPVar4" identifier = identifier) ;) (expression_statement "pPVar5 = pPVar5 + -1;" (assignment_expression "pPVar5 = pPVar5 + -1" identifier = (binary_expression "pPVar5 + -1" identifier + number_literal)) ;) }) while (parenthesized_expression "(pPVar4 != points + (number_points >> 1))" ( (binary_expression "pPVar4 != points + (number_points >> 1)" identifier != (binary_expression "points + (number_points >> 1)" identifier + (parenthesized_expression "(number_points >> 1)" ( (binary_expression "number_points >> 1" identifier >> number_literal) )))) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00099644(undefined8 *param_1,uint param_2)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  undefined8 *puVar3;\n  undefined8 *puVar4;\n  undefined8 *puVar5;\n  undefined4 uVar6;\n  undefined8 uVar7;\n  undefined8 uVar8;\n  \n  if (param_2 >> 1 != 0) {\n    puVar3 = param_1;\n    puVar5 = param_1 + param_2 * 2;\n    do {\n      uVar8 = *puVar3;\n      puVar4 = puVar3 + 2;\n      uVar6 = *(undefined4 *)((int)puVar5 + -0xc);\n      uVar2 = *(undefined4 *)(puVar5 + -1);\n      uVar1 = *(undefined4 *)((int)puVar5 + -4);\n      uVar7 = puVar3[1];\n      *(undefined4 *)puVar3 = *(undefined4 *)(puVar5 + -2);\n      *(undefined4 *)((int)puVar3 + 4) = uVar6;\n      *(undefined4 *)(puVar3 + 1) = uVar2;\n      *(undefined4 *)((int)puVar3 + 0xc) = uVar1;\n      puVar5[-2] = uVar8;\n      puVar5[-1] = uVar7;\n      puVar3 = puVar4;\n      puVar5 = puVar5 + -2;\n    } while (puVar4 != param_1 + (param_2 >> 1) * 2);\n  }\n  return;\n}\n\n" (function_definition "void FUN_00099644(undefined8 *param_1,uint param_2)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  undefined8 *puVar3;\n  undefined8 *puVar4;\n  undefined8 *puVar5;\n  undefined4 uVar6;\n  undefined8 uVar7;\n  undefined8 uVar8;\n  \n  if (param_2 >> 1 != 0) {\n    puVar3 = param_1;\n    puVar5 = param_1 + param_2 * 2;\n    do {\n      uVar8 = *puVar3;\n      puVar4 = puVar3 + 2;\n      uVar6 = *(undefined4 *)((int)puVar5 + -0xc);\n      uVar2 = *(undefined4 *)(puVar5 + -1);\n      uVar1 = *(undefined4 *)((int)puVar5 + -4);\n      uVar7 = puVar3[1];\n      *(undefined4 *)puVar3 = *(undefined4 *)(puVar5 + -2);\n      *(undefined4 *)((int)puVar3 + 4) = uVar6;\n      *(undefined4 *)(puVar3 + 1) = uVar2;\n      *(undefined4 *)((int)puVar3 + 0xc) = uVar1;\n      puVar5[-2] = uVar8;\n      puVar5[-1] = uVar7;\n      puVar3 = puVar4;\n      puVar5 = puVar5 + -2;\n    } while (puVar4 != param_1 + (param_2 >> 1) * 2);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00099644(undefined8 *param_1,uint param_2)" identifier (parameter_list "(undefined8 *param_1,uint param_2)" ( (parameter_declaration "undefined8 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "uint param_2" type_identifier identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  undefined8 *puVar3;\n  undefined8 *puVar4;\n  undefined8 *puVar5;\n  undefined4 uVar6;\n  undefined8 uVar7;\n  undefined8 uVar8;\n  \n  if (param_2 >> 1 != 0) {\n    puVar3 = param_1;\n    puVar5 = param_1 + param_2 * 2;\n    do {\n      uVar8 = *puVar3;\n      puVar4 = puVar3 + 2;\n      uVar6 = *(undefined4 *)((int)puVar5 + -0xc);\n      uVar2 = *(undefined4 *)(puVar5 + -1);\n      uVar1 = *(undefined4 *)((int)puVar5 + -4);\n      uVar7 = puVar3[1];\n      *(undefined4 *)puVar3 = *(undefined4 *)(puVar5 + -2);\n      *(undefined4 *)((int)puVar3 + 4) = uVar6;\n      *(undefined4 *)(puVar3 + 1) = uVar2;\n      *(undefined4 *)((int)puVar3 + 0xc) = uVar1;\n      puVar5[-2] = uVar8;\n      puVar5[-1] = uVar7;\n      puVar3 = puVar4;\n      puVar5 = puVar5 + -2;\n    } while (puVar4 != param_1 + (param_2 >> 1) * 2);\n  }\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "undefined8 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "undefined8 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "undefined8 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "undefined4 uVar6;" type_identifier identifier ;) (declaration "undefined8 uVar7;" type_identifier identifier ;) (declaration "undefined8 uVar8;" type_identifier identifier ;) (if_statement "if (param_2 >> 1 != 0) {\n    puVar3 = param_1;\n    puVar5 = param_1 + param_2 * 2;\n    do {\n      uVar8 = *puVar3;\n      puVar4 = puVar3 + 2;\n      uVar6 = *(undefined4 *)((int)puVar5 + -0xc);\n      uVar2 = *(undefined4 *)(puVar5 + -1);\n      uVar1 = *(undefined4 *)((int)puVar5 + -4);\n      uVar7 = puVar3[1];\n      *(undefined4 *)puVar3 = *(undefined4 *)(puVar5 + -2);\n      *(undefined4 *)((int)puVar3 + 4) = uVar6;\n      *(undefined4 *)(puVar3 + 1) = uVar2;\n      *(undefined4 *)((int)puVar3 + 0xc) = uVar1;\n      puVar5[-2] = uVar8;\n      puVar5[-1] = uVar7;\n      puVar3 = puVar4;\n      puVar5 = puVar5 + -2;\n    } while (puVar4 != param_1 + (param_2 >> 1) * 2);\n  }" if (parenthesized_expression "(param_2 >> 1 != 0)" ( (binary_expression "param_2 >> 1 != 0" (binary_expression "param_2 >> 1" identifier >> number_literal) != number_literal) )) (compound_statement "{\n    puVar3 = param_1;\n    puVar5 = param_1 + param_2 * 2;\n    do {\n      uVar8 = *puVar3;\n      puVar4 = puVar3 + 2;\n      uVar6 = *(undefined4 *)((int)puVar5 + -0xc);\n      uVar2 = *(undefined4 *)(puVar5 + -1);\n      uVar1 = *(undefined4 *)((int)puVar5 + -4);\n      uVar7 = puVar3[1];\n      *(undefined4 *)puVar3 = *(undefined4 *)(puVar5 + -2);\n      *(undefined4 *)((int)puVar3 + 4) = uVar6;\n      *(undefined4 *)(puVar3 + 1) = uVar2;\n      *(undefined4 *)((int)puVar3 + 0xc) = uVar1;\n      puVar5[-2] = uVar8;\n      puVar5[-1] = uVar7;\n      puVar3 = puVar4;\n      puVar5 = puVar5 + -2;\n    } while (puVar4 != param_1 + (param_2 >> 1) * 2);\n  }" { (expression_statement "puVar3 = param_1;" (assignment_expression "puVar3 = param_1" identifier = identifier) ;) (expression_statement "puVar5 = param_1 + param_2 * 2;" (assignment_expression "puVar5 = param_1 + param_2 * 2" identifier = (binary_expression "param_1 + param_2 * 2" identifier + (binary_expression "param_2 * 2" identifier * number_literal))) ;) (do_statement "do {\n      uVar8 = *puVar3;\n      puVar4 = puVar3 + 2;\n      uVar6 = *(undefined4 *)((int)puVar5 + -0xc);\n      uVar2 = *(undefined4 *)(puVar5 + -1);\n      uVar1 = *(undefined4 *)((int)puVar5 + -4);\n      uVar7 = puVar3[1];\n      *(undefined4 *)puVar3 = *(undefined4 *)(puVar5 + -2);\n      *(undefined4 *)((int)puVar3 + 4) = uVar6;\n      *(undefined4 *)(puVar3 + 1) = uVar2;\n      *(undefined4 *)((int)puVar3 + 0xc) = uVar1;\n      puVar5[-2] = uVar8;\n      puVar5[-1] = uVar7;\n      puVar3 = puVar4;\n      puVar5 = puVar5 + -2;\n    } while (puVar4 != param_1 + (param_2 >> 1) * 2);" do (compound_statement "{\n      uVar8 = *puVar3;\n      puVar4 = puVar3 + 2;\n      uVar6 = *(undefined4 *)((int)puVar5 + -0xc);\n      uVar2 = *(undefined4 *)(puVar5 + -1);\n      uVar1 = *(undefined4 *)((int)puVar5 + -4);\n      uVar7 = puVar3[1];\n      *(undefined4 *)puVar3 = *(undefined4 *)(puVar5 + -2);\n      *(undefined4 *)((int)puVar3 + 4) = uVar6;\n      *(undefined4 *)(puVar3 + 1) = uVar2;\n      *(undefined4 *)((int)puVar3 + 0xc) = uVar1;\n      puVar5[-2] = uVar8;\n      puVar5[-1] = uVar7;\n      puVar3 = puVar4;\n      puVar5 = puVar5 + -2;\n    }" { (expression_statement "uVar8 = *puVar3;" (assignment_expression "uVar8 = *puVar3" identifier = (pointer_expression "*puVar3" * identifier)) ;) (expression_statement "puVar4 = puVar3 + 2;" (assignment_expression "puVar4 = puVar3 + 2" identifier = (binary_expression "puVar3 + 2" identifier + number_literal)) ;) (expression_statement "uVar6 = *(undefined4 *)((int)puVar5 + -0xc);" (assignment_expression "uVar6 = *(undefined4 *)((int)puVar5 + -0xc)" identifier = (pointer_expression "*(undefined4 *)((int)puVar5 + -0xc)" * (cast_expression "(undefined4 *)((int)puVar5 + -0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar5 + -0xc)" ( (binary_expression "(int)puVar5 + -0xc" (cast_expression "(int)puVar5" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (expression_statement "uVar2 = *(undefined4 *)(puVar5 + -1);" (assignment_expression "uVar2 = *(undefined4 *)(puVar5 + -1)" identifier = (pointer_expression "*(undefined4 *)(puVar5 + -1)" * (cast_expression "(undefined4 *)(puVar5 + -1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar5 + -1)" ( (binary_expression "puVar5 + -1" identifier + number_literal) ))))) ;) (expression_statement "uVar1 = *(undefined4 *)((int)puVar5 + -4);" (assignment_expression "uVar1 = *(undefined4 *)((int)puVar5 + -4)" identifier = (pointer_expression "*(undefined4 *)((int)puVar5 + -4)" * (cast_expression "(undefined4 *)((int)puVar5 + -4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar5 + -4)" ( (binary_expression "(int)puVar5 + -4" (cast_expression "(int)puVar5" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (expression_statement "uVar7 = puVar3[1];" (assignment_expression "uVar7 = puVar3[1]" identifier = (subscript_expression "puVar3[1]" identifier [ number_literal ])) ;) (expression_statement "*(undefined4 *)puVar3 = *(undefined4 *)(puVar5 + -2);" (assignment_expression "*(undefined4 *)puVar3 = *(undefined4 *)(puVar5 + -2)" (pointer_expression "*(undefined4 *)puVar3" * (cast_expression "(undefined4 *)puVar3" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = (pointer_expression "*(undefined4 *)(puVar5 + -2)" * (cast_expression "(undefined4 *)(puVar5 + -2)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar5 + -2)" ( (binary_expression "puVar5 + -2" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)((int)puVar3 + 4) = uVar6;" (assignment_expression "*(undefined4 *)((int)puVar3 + 4) = uVar6" (pointer_expression "*(undefined4 *)((int)puVar3 + 4)" * (cast_expression "(undefined4 *)((int)puVar3 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar3 + 4)" ( (binary_expression "(int)puVar3 + 4" (cast_expression "(int)puVar3" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(puVar3 + 1) = uVar2;" (assignment_expression "*(undefined4 *)(puVar3 + 1) = uVar2" (pointer_expression "*(undefined4 *)(puVar3 + 1)" * (cast_expression "(undefined4 *)(puVar3 + 1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar3 + 1)" ( (binary_expression "puVar3 + 1" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)((int)puVar3 + 0xc) = uVar1;" (assignment_expression "*(undefined4 *)((int)puVar3 + 0xc) = uVar1" (pointer_expression "*(undefined4 *)((int)puVar3 + 0xc)" * (cast_expression "(undefined4 *)((int)puVar3 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar3 + 0xc)" ( (binary_expression "(int)puVar3 + 0xc" (cast_expression "(int)puVar3" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (expression_statement "puVar5[-2] = uVar8;" (assignment_expression "puVar5[-2] = uVar8" (subscript_expression "puVar5[-2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar5[-1] = uVar7;" (assignment_expression "puVar5[-1] = uVar7" (subscript_expression "puVar5[-1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar3 = puVar4;" (assignment_expression "puVar3 = puVar4" identifier = identifier) ;) (expression_statement "puVar5 = puVar5 + -2;" (assignment_expression "puVar5 = puVar5 + -2" identifier = (binary_expression "puVar5 + -2" identifier + number_literal)) ;) }) while (parenthesized_expression "(puVar4 != param_1 + (param_2 >> 1) * 2)" ( (binary_expression "puVar4 != param_1 + (param_2 >> 1) * 2" identifier != (binary_expression "param_1 + (param_2 >> 1) * 2" identifier + (binary_expression "(param_2 >> 1) * 2" (parenthesized_expression "(param_2 >> 1)" ( (binary_expression "param_2 >> 1" identifier >> number_literal) )) * number_literal))) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT >> LIT) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (binary_expression IDENT * LIT))) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) 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 IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) 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 (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = IDENT) ;) (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 (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != (binary_expression IDENT + (binary_expression (parenthesized_expression ( (binary_expression IDENT >> LIT) )) * LIT))) )) ;) })) (return_statement return ;) })))
(function_definition "void FUN_00099644(undefined8 *param_1,uint param_2)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  undefined8 *puVar3;\n  undefined8 *puVar4;\n  undefined8 *puVar5;\n  undefined4 uVar6;\n  undefined8 uVar7;\n  undefined8 uVar8;\n  \n  if (param_2 >> 1 != 0) {\n    puVar3 = param_1;\n    puVar5 = param_1 + param_2 * 2;\n    do {\n      uVar8 = *puVar3;\n      puVar4 = puVar3 + 2;\n      uVar6 = *(undefined4 *)((int)puVar5 + -0xc);\n      uVar2 = *(undefined4 *)(puVar5 + -1);\n      uVar1 = *(undefined4 *)((int)puVar5 + -4);\n      uVar7 = puVar3[1];\n      *(undefined4 *)puVar3 = *(undefined4 *)(puVar5 + -2);\n      *(undefined4 *)((int)puVar3 + 4) = uVar6;\n      *(undefined4 *)(puVar3 + 1) = uVar2;\n      *(undefined4 *)((int)puVar3 + 0xc) = uVar1;\n      puVar5[-2] = uVar8;\n      puVar5[-1] = uVar7;\n      puVar3 = puVar4;\n      puVar5 = puVar5 + -2;\n    } while (puVar4 != param_1 + (param_2 >> 1) * 2);\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00099644(undefined8 *param_1,uint param_2)" (identifier "FUN_00099644") (parameter_list "(undefined8 *param_1,uint param_2)" (( "(") (parameter_declaration "undefined8 *param_1" (type_identifier "undefined8") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "uint param_2" (type_identifier "uint") (identifier "param_2")) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  undefined8 *puVar3;\n  undefined8 *puVar4;\n  undefined8 *puVar5;\n  undefined4 uVar6;\n  undefined8 uVar7;\n  undefined8 uVar8;\n  \n  if (param_2 >> 1 != 0) {\n    puVar3 = param_1;\n    puVar5 = param_1 + param_2 * 2;\n    do {\n      uVar8 = *puVar3;\n      puVar4 = puVar3 + 2;\n      uVar6 = *(undefined4 *)((int)puVar5 + -0xc);\n      uVar2 = *(undefined4 *)(puVar5 + -1);\n      uVar1 = *(undefined4 *)((int)puVar5 + -4);\n      uVar7 = puVar3[1];\n      *(undefined4 *)puVar3 = *(undefined4 *)(puVar5 + -2);\n      *(undefined4 *)((int)puVar3 + 4) = uVar6;\n      *(undefined4 *)(puVar3 + 1) = uVar2;\n      *(undefined4 *)((int)puVar3 + 0xc) = uVar1;\n      puVar5[-2] = uVar8;\n      puVar5[-1] = uVar7;\n      puVar3 = puVar4;\n      puVar5 = puVar5 + -2;\n    } while (puVar4 != param_1 + (param_2 >> 1) * 2);\n  }\n  return;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (declaration "undefined8 *puVar3;" (type_identifier "undefined8") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (declaration "undefined8 *puVar4;" (type_identifier "undefined8") (pointer_declarator "*puVar4" (* "*") (identifier "puVar4")) (; ";")) (declaration "undefined8 *puVar5;" (type_identifier "undefined8") (pointer_declarator "*puVar5" (* "*") (identifier "puVar5")) (; ";")) (declaration "undefined4 uVar6;" (type_identifier "undefined4") (identifier "uVar6") (; ";")) (declaration "undefined8 uVar7;" (type_identifier "undefined8") (identifier "uVar7") (; ";")) (declaration "undefined8 uVar8;" (type_identifier "undefined8") (identifier "uVar8") (; ";")) (if_statement "if (param_2 >> 1 != 0) {\n    puVar3 = param_1;\n    puVar5 = param_1 + param_2 * 2;\n    do {\n      uVar8 = *puVar3;\n      puVar4 = puVar3 + 2;\n      uVar6 = *(undefined4 *)((int)puVar5 + -0xc);\n      uVar2 = *(undefined4 *)(puVar5 + -1);\n      uVar1 = *(undefined4 *)((int)puVar5 + -4);\n      uVar7 = puVar3[1];\n      *(undefined4 *)puVar3 = *(undefined4 *)(puVar5 + -2);\n      *(undefined4 *)((int)puVar3 + 4) = uVar6;\n      *(undefined4 *)(puVar3 + 1) = uVar2;\n      *(undefined4 *)((int)puVar3 + 0xc) = uVar1;\n      puVar5[-2] = uVar8;\n      puVar5[-1] = uVar7;\n      puVar3 = puVar4;\n      puVar5 = puVar5 + -2;\n    } while (puVar4 != param_1 + (param_2 >> 1) * 2);\n  }" (if "if") (parenthesized_expression "(param_2 >> 1 != 0)" (( "(") (binary_expression "param_2 >> 1 != 0" (binary_expression "param_2 >> 1" (identifier "param_2") (>> ">>") (number_literal "1")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    puVar3 = param_1;\n    puVar5 = param_1 + param_2 * 2;\n    do {\n      uVar8 = *puVar3;\n      puVar4 = puVar3 + 2;\n      uVar6 = *(undefined4 *)((int)puVar5 + -0xc);\n      uVar2 = *(undefined4 *)(puVar5 + -1);\n      uVar1 = *(undefined4 *)((int)puVar5 + -4);\n      uVar7 = puVar3[1];\n      *(undefined4 *)puVar3 = *(undefined4 *)(puVar5 + -2);\n      *(undefined4 *)((int)puVar3 + 4) = uVar6;\n      *(undefined4 *)(puVar3 + 1) = uVar2;\n      *(undefined4 *)((int)puVar3 + 0xc) = uVar1;\n      puVar5[-2] = uVar8;\n      puVar5[-1] = uVar7;\n      puVar3 = puVar4;\n      puVar5 = puVar5 + -2;\n    } while (puVar4 != param_1 + (param_2 >> 1) * 2);\n  }" ({ "{") (expression_statement "puVar3 = param_1;" (assignment_expression "puVar3 = param_1" (identifier "puVar3") (= "=") (identifier "param_1")) (; ";")) (expression_statement "puVar5 = param_1 + param_2 * 2;" (assignment_expression "puVar5 = param_1 + param_2 * 2" (identifier "puVar5") (= "=") (binary_expression "param_1 + param_2 * 2" (identifier "param_1") (+ "+") (binary_expression "param_2 * 2" (identifier "param_2") (* "*") (number_literal "2")))) (; ";")) (do_statement "do {\n      uVar8 = *puVar3;\n      puVar4 = puVar3 + 2;\n      uVar6 = *(undefined4 *)((int)puVar5 + -0xc);\n      uVar2 = *(undefined4 *)(puVar5 + -1);\n      uVar1 = *(undefined4 *)((int)puVar5 + -4);\n      uVar7 = puVar3[1];\n      *(undefined4 *)puVar3 = *(undefined4 *)(puVar5 + -2);\n      *(undefined4 *)((int)puVar3 + 4) = uVar6;\n      *(undefined4 *)(puVar3 + 1) = uVar2;\n      *(undefined4 *)((int)puVar3 + 0xc) = uVar1;\n      puVar5[-2] = uVar8;\n      puVar5[-1] = uVar7;\n      puVar3 = puVar4;\n      puVar5 = puVar5 + -2;\n    } while (puVar4 != param_1 + (param_2 >> 1) * 2);" (do "do") (compound_statement "{\n      uVar8 = *puVar3;\n      puVar4 = puVar3 + 2;\n      uVar6 = *(undefined4 *)((int)puVar5 + -0xc);\n      uVar2 = *(undefined4 *)(puVar5 + -1);\n      uVar1 = *(undefined4 *)((int)puVar5 + -4);\n      uVar7 = puVar3[1];\n      *(undefined4 *)puVar3 = *(undefined4 *)(puVar5 + -2);\n      *(undefined4 *)((int)puVar3 + 4) = uVar6;\n      *(undefined4 *)(puVar3 + 1) = uVar2;\n      *(undefined4 *)((int)puVar3 + 0xc) = uVar1;\n      puVar5[-2] = uVar8;\n      puVar5[-1] = uVar7;\n      puVar3 = puVar4;\n      puVar5 = puVar5 + -2;\n    }" ({ "{") (expression_statement "uVar8 = *puVar3;" (assignment_expression "uVar8 = *puVar3" (identifier "uVar8") (= "=") (pointer_expression "*puVar3" (* "*") (identifier "puVar3"))) (; ";")) (expression_statement "puVar4 = puVar3 + 2;" (assignment_expression "puVar4 = puVar3 + 2" (identifier "puVar4") (= "=") (binary_expression "puVar3 + 2" (identifier "puVar3") (+ "+") (number_literal "2"))) (; ";")) (expression_statement "uVar6 = *(undefined4 *)((int)puVar5 + -0xc);" (assignment_expression "uVar6 = *(undefined4 *)((int)puVar5 + -0xc)" (identifier "uVar6") (= "=") (pointer_expression "*(undefined4 *)((int)puVar5 + -0xc)" (* "*") (cast_expression "(undefined4 *)((int)puVar5 + -0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar5 + -0xc)" (( "(") (binary_expression "(int)puVar5 + -0xc" (cast_expression "(int)puVar5" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar5")) (+ "+") (number_literal "-0xc")) () ")"))))) (; ";")) (expression_statement "uVar2 = *(undefined4 *)(puVar5 + -1);" (assignment_expression "uVar2 = *(undefined4 *)(puVar5 + -1)" (identifier "uVar2") (= "=") (pointer_expression "*(undefined4 *)(puVar5 + -1)" (* "*") (cast_expression "(undefined4 *)(puVar5 + -1)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar5 + -1)" (( "(") (binary_expression "puVar5 + -1" (identifier "puVar5") (+ "+") (number_literal "-1")) () ")"))))) (; ";")) (expression_statement "uVar1 = *(undefined4 *)((int)puVar5 + -4);" (assignment_expression "uVar1 = *(undefined4 *)((int)puVar5 + -4)" (identifier "uVar1") (= "=") (pointer_expression "*(undefined4 *)((int)puVar5 + -4)" (* "*") (cast_expression "(undefined4 *)((int)puVar5 + -4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar5 + -4)" (( "(") (binary_expression "(int)puVar5 + -4" (cast_expression "(int)puVar5" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar5")) (+ "+") (number_literal "-4")) () ")"))))) (; ";")) (expression_statement "uVar7 = puVar3[1];" (assignment_expression "uVar7 = puVar3[1]" (identifier "uVar7") (= "=") (subscript_expression "puVar3[1]" (identifier "puVar3") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "*(undefined4 *)puVar3 = *(undefined4 *)(puVar5 + -2);" (assignment_expression "*(undefined4 *)puVar3 = *(undefined4 *)(puVar5 + -2)" (pointer_expression "*(undefined4 *)puVar3" (* "*") (cast_expression "(undefined4 *)puVar3" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar3"))) (= "=") (pointer_expression "*(undefined4 *)(puVar5 + -2)" (* "*") (cast_expression "(undefined4 *)(puVar5 + -2)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar5 + -2)" (( "(") (binary_expression "puVar5 + -2" (identifier "puVar5") (+ "+") (number_literal "-2")) () ")"))))) (; ";")) (expression_statement "*(undefined4 *)((int)puVar3 + 4) = uVar6;" (assignment_expression "*(undefined4 *)((int)puVar3 + 4) = uVar6" (pointer_expression "*(undefined4 *)((int)puVar3 + 4)" (* "*") (cast_expression "(undefined4 *)((int)puVar3 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar3 + 4)" (( "(") (binary_expression "(int)puVar3 + 4" (cast_expression "(int)puVar3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar3")) (+ "+") (number_literal "4")) () ")")))) (= "=") (identifier "uVar6")) (; ";")) (expression_statement "*(undefined4 *)(puVar3 + 1) = uVar2;" (assignment_expression "*(undefined4 *)(puVar3 + 1) = uVar2" (pointer_expression "*(undefined4 *)(puVar3 + 1)" (* "*") (cast_expression "(undefined4 *)(puVar3 + 1)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar3 + 1)" (( "(") (binary_expression "puVar3 + 1" (identifier "puVar3") (+ "+") (number_literal "1")) () ")")))) (= "=") (identifier "uVar2")) (; ";")) (expression_statement "*(undefined4 *)((int)puVar3 + 0xc) = uVar1;" (assignment_expression "*(undefined4 *)((int)puVar3 + 0xc) = uVar1" (pointer_expression "*(undefined4 *)((int)puVar3 + 0xc)" (* "*") (cast_expression "(undefined4 *)((int)puVar3 + 0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar3 + 0xc)" (( "(") (binary_expression "(int)puVar3 + 0xc" (cast_expression "(int)puVar3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar3")) (+ "+") (number_literal "0xc")) () ")")))) (= "=") (identifier "uVar1")) (; ";")) (expression_statement "puVar5[-2] = uVar8;" (assignment_expression "puVar5[-2] = uVar8" (subscript_expression "puVar5[-2]" (identifier "puVar5") ([ "[") (number_literal "-2") (] "]")) (= "=") (identifier "uVar8")) (; ";")) (expression_statement "puVar5[-1] = uVar7;" (assignment_expression "puVar5[-1] = uVar7" (subscript_expression "puVar5[-1]" (identifier "puVar5") ([ "[") (number_literal "-1") (] "]")) (= "=") (identifier "uVar7")) (; ";")) (expression_statement "puVar3 = puVar4;" (assignment_expression "puVar3 = puVar4" (identifier "puVar3") (= "=") (identifier "puVar4")) (; ";")) (expression_statement "puVar5 = puVar5 + -2;" (assignment_expression "puVar5 = puVar5 + -2" (identifier "puVar5") (= "=") (binary_expression "puVar5 + -2" (identifier "puVar5") (+ "+") (number_literal "-2"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(puVar4 != param_1 + (param_2 >> 1) * 2)" (( "(") (binary_expression "puVar4 != param_1 + (param_2 >> 1) * 2" (identifier "puVar4") (!= "!=") (binary_expression "param_1 + (param_2 >> 1) * 2" (identifier "param_1") (+ "+") (binary_expression "(param_2 >> 1) * 2" (parenthesized_expression "(param_2 >> 1)" (( "(") (binary_expression "param_2 >> 1" (identifier "param_2") (>> ">>") (number_literal "1")) () ")")) (* "*") (number_literal "2")))) () ")")) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

void function_1(type_1 *var_2,size_t var_1)

{
  type_2 uVar1;
  type_2 uVar2;
  type_1 *var_3;
  type_1 *var_5;
  type_1 *var_4;
  type_2 uVar6;
  double dVar7;
  double dVar8;
  
  if (var_1 >> 1 != 0) {
    var_3 = var_2;
    var_4 = var_2 + var_1;
    do {
      dVar8 = var_3->x;
      var_5 = var_3 + 1;
      uVar6 = *(type_2 *)((int)&var_4[-1].x + 4);
      uVar2 = *(type_2 *)&var_4[-1].y;
      uVar1 = *(type_2 *)((int)&var_4[-1].y + 4);
      dVar7 = var_3->y;
      *(type_2 *)&var_3->x = *(type_2 *)&var_4[-1].x;
      *(type_2 *)((int)&var_3->x + 4) = uVar6;
      *(type_2 *)&var_3->y = uVar2;
      *(type_2 *)((int)&var_3->y + 4) = uVar1;
      var_4[-1].x = dVar8;
      var_4[-1].y = dVar7;
      var_3 = var_5;
      var_4 = var_4 + -1;
    } while (var_5 != var_2 + (var_1 >> 1));
  }
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (if_statement condition: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (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: (cast_expression type: (type_descriptor type: (primitive_type)) value: (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: (identifier) right: (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))))))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (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: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (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: (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: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal)))))))) (return_statement))))

void MASKED(undefined8 *param_1,uint param_2)

{
  undefined4 uVar1;
  undefined4 uVar2;
  undefined8 *puVar3;
  undefined8 *puVar4;
  undefined8 *puVar5;
  undefined4 uVar6;
  undefined8 uVar7;
  undefined8 uVar8;
  
  if (param_2 >> 1 != 0) {
    puVar3 = param_1;
    puVar5 = param_1 + param_2 * 2;
    do {
      uVar8 = *puVar3;
      puVar4 = puVar3 + 2;
      uVar6 = *(undefined4 *)((int)puVar5 + -0xc);
      uVar2 = *(undefined4 *)(puVar5 + -1);
      uVar1 = *(undefined4 *)((int)puVar5 + -4);
      uVar7 = puVar3[1];
      *(undefined4 *)puVar3 = *(undefined4 *)(puVar5 + -2);
      *(undefined4 *)((int)puVar3 + 4) = uVar6;
      *(undefined4 *)(puVar3 + 1) = uVar2;
      *(undefined4 *)((int)puVar3 + 0xc) = uVar1;
      puVar5[-2] = uVar8;
      puVar5[-1] = uVar7;
      puVar3 = puVar4;
      puVar5 = puVar5 + -2;
    } while (puVar4 != param_1 + (param_2 >> 1) * 2);
  }
  return;
}

